Removed Lua 5.2 functions lua_len and lua_tointegerx

This fixes issue #71.
Merge pull request #72 from nmcveity/fix-5.1-compat

Removed Lua 5.2 functions lua_len and lua_tointegerx