Refactor views.

* extract common layout
* use CDN versions of jQuery & Bootstrap with local fallback
* forms use Hiccup helpers