moving core code to CommonJS with grunt/node packaging
porting remaining stuff to CommonJS
converting to use bluebird promises and general dev task improvement
porting IGB module and some other basic cleanup
setting up jshint and refactoring to defined style
removing build bat file
setting up jasmine testing for node, PhantomJS, and html