Add entities to catalogue in jsgui

* Entities can be added to the catalogue by entering and submitting YAML on the catalogue page.
* Locations to follow.
* Makes general improvements to the usability and navigation of catalogue page.
* Adds GenericForm view to bind to a form to a Backbone model and run a callback with it when the form is submitted.
* Fixes display of policies in catalogue.