Added support for Lua 5.2 and osg::Object creation from within Lua scripts.