Fixed an incorrect check in commit traverser and added a unit test to cover the case.

Fixes #389
Merge pull request #396 from jdgarrett/commit-traverser-fix

Fixed an incorrect check in commit traverser.
Removed auto synchronization classes.

These should be done by the client and not automatically by GeoGit.
Merge pull request #397 from jdgarrett/remove-autosync

Removed auto synchronization classes.