Move the Lua-definitions into an externally visible array.

  We've now moved the bindings for lua from a series of hard-wired
 calls to lua_register to using a table.  This table is externally
 visible, which means our TAB-completion code can complete on
 function-names without a second copy of the function-names.

  This is part of issue #47.