links open in new page by default

Unless it's already set, the target attribute for all links is set to `_blank`, so they open in a new tab/window.
Fixes numbas/editor#151