Abstracted away get/set global.
Implemented `setglobal` and `getglobal` for Lua 5.2
Merge pull request #1 from c0bra61/lua52

Lua 5.2 support (from c0bra61/lua52)