Scene>Object>Component hierarchy functions added.

Components now have a getObject function. Objects have a getScene
function.
Also adding components to objects is now done via attachComponent
instead of addComponent.