[feature] GitHub CRUD tests

I filled in the test stubs for github_update_file, github_delete_file, and github_view_file.

This replaces [PR 1243](https://github.com/CenterForOpenScience/osf/pull/1243) in the old repo, which I am going to close now.

This closes [PR 1278](https://github.com/CenterForOpenScience/osf.io/pull/1278).
You will also likely need to mock out `get_cache_content` https://github.com/csheldonhess/osf.io/blob/258da94323d605282358e964459e2a5671e5498f/website/addons/github/views/crud.py#L183 . It does filesystem access and if it returns `None`, we send an API request download the file then render it. `get_cache_content` should be mocked to return some html content (the faked HTML representation of the file).