Fix #39: Make all links open in tabs.

So far, the onclick was set on newly generated
links, which only affects URLs and images.
Instead, they are now added via jquery to all
anchor elements with an href attribute.