tests and impl for tsc --declaration option
oops, cleaning up that nasty console
if debug is set verbose automatically sets
switched to gulputil log instead of console
added npm test script to package.json
added a test for another discovered bug
removed superfluous log
fixes based on @panuhorsmalahti feedback on PR#6
added jslint to test step. fixed all jslint errors
removed thisdir for __dirname directly. I had this originally while troubleshooting a problem with npm link but it was unrelated.
changed read to be async.
properly uses async in handleDeclaration to resolve the potential for the declaration not being read before completing readFiles.
added automated mocha test to catch the last error i just commited (regression on old gulp file manual tests). fixed that bug with async handleDeclaration callback. refactored mocha tests.
Merge pull request #6 from activescott/declaration-support

Declaration support