Ensure Target Blank for Content Links

The rich text editor used so far sometimes failed to set the target
attribute on anchor tags. Extract all link behaviour related
functionality from ready.js to a separate file and enforce target
blank attribute.
Merge pull request #233 from tf/link-targets

Ensure Target Blank for Content Links