tweak the build script & clean up files

* Added in the functioanlity to create the version file
* Tweak the script to be more efficient in dev vs build modes
* Handle an issue where the lint_coffee task errored out and killed the watch processes