Make Network.ListReferences(Remote) accept Credentials

Add CanListRemoteReferencesWithCredentials() test.
Simplify Travis build script

As travis-ci/travis-ci#2205 is fixed, we don't need the
$TRAVIS_OS_UNAME variable any longer.
Introduce repo.Revert(commit)
Continue implementing revert