Added try/catch around index generation
updated build script
Removed require.d.ts and added declarations for lazy loading where needed
Refactored build script, added clean task, fixed browserify
Renamed string module to stringutils so it's callable as an internal module
Refactored editor to use compiled browserify bundle

Instead of referencing the code through import statements, the editor references the .d.ts file and the HTML has a script tag for the browserify bundle.