Clean up gameobject physics and shaders properly.

Change global shader uniform life to lifetime.
Add file and line number to LUA error reporting.