Remove deprecated Github API methods

and add tests
Can specify the version of the private repo using `@version`

```
git+https://github.com/saltstack/salt-testing.git@v2014.8.5#egg=SaltTesting
```