Refactored opening an URI out of RascalHyperlink class

This functionality is needed in other places aswell, so let's remove duplication.

(discussed with @jurgenv)
The hyperlink in the editor now uses the same code as the console.

Fixed cwi-swat/rascal#690

This also removes a big chunk of legacy code in the SourceLocationHyperlink class