code: Implement some features in Code Browser.

* Copying url of repository to clipboard
* Selecting branch
code: minor html/js refactoring.