js lib update, handlebar template pre-compilation

updated libraries to current versions: jQuery, backbone, moment,
accounting, handlebars, backbone-deep, backbone-modelbinder.

replaced underscore with lodash

moved the handlebar templates to separate files and pre-compile them.
this is a little more work, but will make them faster in the browser and
avoid any issues with the latest changes by browsers which are causing
strange random errors with JIT template compilation.