Add possibility to fork a repository, refs #106
Open the new repository after a fork.

This behaviour is consistent with the website and solves the issue of
forking an already forked repository.
Merge pull request #612 from jonanp/fork

Add forking support