#1: updating grunt targets and such for making developer documentation
#1: refactorings, reorganization, lots of docstrings in globals.js
#1: some updated docs