Improved world handling of callbacks.
Added support for global callbacks in physics::World.
Added a test of physics global callbacks.