Add a rockspec
Replace luaL_reg usage to luaL_Reg for 5.2 compatibility