Monkey patch loadfile() and dofile()

So we can load scripts from the LEM file.  I'm not sure how I fell about this.
You must now specify the input and output files for mklem.
Contents of the "file" can now be specified

There doesn't need to be a real "file" for the actual contents can now be
specified.
A script to make a list of files for LuaRocks.
Sort the MODULES table.
Run LuaRocks from a LEM file.

Converted the code to use the lem module.
Bug fix---typo on a few variable names.
Return an APP file if requested.