Pull "View Repository" on Sourcegraph button injection into CodeHost iterface
Created by: ijsnow
This PR moves the injection of the "View repository on Sourcegraph" functionality into the CodeHost interface. Its a complete re-implementation of the feature to be abstract from the code host. It's an optional property in the interface.
Closes https://github.com/sourcegraph/sourcegraph/issues/656.