added instance homes
added setHome, getHome and isPlayer to lua_instance