Better error handeling for lua.
Port python tests to lua.
Update built JS
Fix unused argument and misspelling
Commit updated built JS
Merge pull request #58 from basicer/lua

Lua improvements