Alternative to setfenv

Setfenv was only compatible with lua 5.1 and now it is possible to run it on
 5.2 as well.
Merge branch 'master' of github.com:Etiene/sailor