Removed unused methods
Removed unused using directives
Try to be more POSIX-y?

`if ! command` appears to be invalid
(https://travis-ci.org/git-tfs/git-tfs/builds/18484621)
Merge pull request #540 from KindDragon/code-cleanup

Code cleanup
Merge pull request #544 from spraints/bashing

Fix script/travis