added support for discovery functions
Merge branch 'master' of github.com:sehraf/Lua4RS