Added rotation to base_object.apply()

Issue @B6 : Added the code to base_object.apply() to properly handle
torque, rotation and object attitude (I think!). This code compiles
and should be doing the correct work, but has not be unit tested yet.
Next up is updating the base_object unit test.