[VersionControl] Implemented backend specific tests

Also fixed a NRE for Git stashes and a fixup for GetPushDiff.

Subversion repos have no specific public API.