refactored using revealing module pattern and other OCD refactoring; jshint fixes; added tests; updat
ed examples; updated readme for example app; switch documenation to jsduck; added make file for common commands