Support lists as module keys
Makefile fix
Move source files into lib subdirectory
Define basic math functions from Lua and JS
Make the call to Array.prototype.slice.call explicit in JS

This is required to get the desired result when using the `arguments'
variable.