Referenced files have a square with an arrow in the corner to signify referenced. See below.
The other icon signifies adjustments have been made. It's a couple of slide controls. You need to turn on metadata display to see these icons.
To be clear, the location of the library on an external drive doesn't signify it is referenced. It's the location of the original images that counts. If the originals are inside the library package, they are managed. If they are external to the library package, they are referenced.
The originals can be on the internal drive and still be referenced if they are external to the library package.
If your library package is on an external drive you can just copy it to the internal drive using the Finder.
If your originals are referenced and you want them to be managed, do this:
1. Open the library and select all the images in the browser (click the photos icon in the Library tab of the inspector. Make sure the browser is set to Show All. Select all the images by clicking one and typing command-A)
2. Select File->Consolidate Originals...
3. Tell Aperture to either move the images or copy. If you copy, the originals will remain in whatever folder they existed before the command was started.