Global functions are bad, mkay?

Also, adding functions to build in modules and classes? Bad dog.
Run the linter on every pull request
Install Lua for travis

Now the build will take even longer...
Add last remaining lua file
Merge pull request #1703 from hawkthorne/killglobals

Kill globals