Lua 5.2 support by replacing setfenv
Merge pull request #32 from simoncozens/master

Lua 5.2 support by replacing setfenv