locals object is passed to rendered tempalte
refactored and improved error handling
add own slim version of lib.d.ts, upgrade typescript to 1.0.0
generated *.js files will be no longer stored in git
add generated files to .gitignore