First cut on file watcher usage, move d.ts under webapp, pull in some DefinitelyTyped definitions, start adding reference paths to .ts files, ignore generated .js files