Cleanup, jsbuild and templating

This PR:
* Gets rid of the Pyramid stuff
* Adds the jsbuild
* Configure the base templates (`viewer.js` and `index.html`)

Merging