Add a bunch of standard functions to the sandbox.
Add dkjson.lua.

Modification and redistribution of dkjson.lua is permitted by its license.
Add support for command line options.