Added idir option to set an intermediate directory

- Added an idir option to set an intermediate directory for all the
intermediat obj files so they don't gum up the output directory
-Enabled the Pre-build step that precompules the lake script so we can
suck it into a resource
-lake: Added a fix for Lua 5.2 so that 'unpack' will still work