Initial work towards Lua 5.2 support.
Porting over to lua 5.2 and add rockspec