Remove Muscula.
Fix some browsers reporting e.type is undefined
Use Grunt & UglifyJS2 to generate all JS with source maps.

At the same time, simplify 'make-templates.js' and merge
'scripts-', 'scripts' and 'templates' into one.
Bump appcache, and remove scripts.js and templates.js