"previsit" ancestors of commits being sent during network sync
fixed bug when resolving default geometry.

The mapping to get the index of the geometry field was used twice, resulting in a wrong index and a later ClassCastException when getting the value.
Merge pull request #297 from dwins/previsit_in_network_transfer

"previsit" ancestors of commits being sent during network sync
Merge pull request #316 from volaya/defaultGeometry

fixed bug when resolving default geometry.
Merge branch 'volaya/revert_conflicts' into master
added reflog functionality