Bring event names in line with upstream bootstrap

Bootstrap creates a show/hide event prior to showing/hiding an element and a
shown/hidden element after showing/hiding it. Except, in older versions of
bootstrap this wasn't implemented for tooltips and popovers. We ended up
implementing this functionality itself, but unfortunately we used our own names
for the events, and additionally re-used THEIR event names for our own
purposes. Bootstrap has now fixed this issue, leading to infinite recursion
in our code. This applies a more consistent event naming.
Bring monkey-patched show in line with upstream.
Only monkeypatch if bootstrap is old.
Avoid some errors that occur if the popover never opened.
Chrome, don't open these links!

Explicit event handler to prevent chrome from opening the links in the editor.
Refactoring of code that prevents popup closing

This uses the fact that aloha won't deacivate the editor if it has
.aloha in its hierarchy. Of course marking something with class=aloha
brings about styling baggage, so that had to be reset.
Merge branch 'ghbook-ticket455' into testing

Conflicts:
	src/plugins/oer/popover/lib/popover-plugin.coffee
	src/plugins/oer/popover/lib/popover-plugin.js