Close share dialog when clicking on 'share' button again. Fixes #674.
Fix closing the searchbar in situations when the search was never executed

When the user runs a search, the sidebar switches to search view.
When killing the searchbar (with the x) afterwards, it switches back to viewer.
Leaving search mode triggers a route change watch,
which executes the necessary cleanup.

However, if we haven't yet started searching, only opened the searchbar,
and then kill it immediately (without running the search first), then
we are still in viewer mod, so no route change will happen.
Therefore, the cleanup is not triggered automatically.

So in these cases, we will have to trigger in manually.

Fixes #673.
Fixes #675.
Partial text match for tag search

Page search now interprets the tag search facet as a substring to look for in all tags.
Fixes #672
Replies are no longer collapsed after creation.

Based on @tilgovi's suggestion the ng-click functions for saving/editing/deleting an annotation now have the $event argument and we stop propagating this event further so the collapse/open mechanism cannot react to them.
Fixes #609
Stop click event propageting up from annotator editor. Fixes #676.