Fix 5.1 build, lua_tonumberx and lua_tointegerx are missing there.
Add GlobalNamespaceMT and fix NewNamespace (metatable was missing).