fixed bugs with writing to file
added default options for namespace and compiler
added plaintext compiler
added namespace masking
added default options for compiler and namespace
more tests
bulk of tplcompile.js moved to front.js