added physics manager

Removed collision detection code from scenemanager.TransformManager and
moved it into its own structure that will be responsible for simulating
physics and for detecting and resolving collisions between components.