Updated lua_objlen references, removed from Lua 5.2, to lua_rawlen. Fixed some compiler warnings issues related to size_t conversions to int.