Some cleanup of the FPS limiter code
Auto-disabling 3d physics and ogre graphics,
since they won't be supported for quite a while
Refactoring the templates
Putting back in setmetatable for now
Enabling getmetatable aswell