Multiple UI improvements, including the following:

* Support for adding Gollum links by Gollum page title instead of by URL
* This uses Select2 to search the pages and autocomplete. (Could be made a bit nicer though.)
* Gollum links are now recognised and replaced automatically in the preview pane.
* More refactoring and cleaning up.