Physics improvements

I've added a few improvements to the 3D physics module. These changes include more advanced collision object generation for meshes, a better ray test method, a few methods to give users more control over Bullet, and some changes that allow collision/ray test results to be used with Lua.