various fixes, cleanups and indent updates

makes bytecode.lua roughly the same as octascript's; only difference currently is in module requires (octascript requires octascript.util rather than util).