Fixed view controls

Now objects will stay with the cursor when selected, moving in the
correct direction, despite whatever changes have been made by the user
to the view and its rotation.
Also added hierarchy documentation.