Make GeogitFeatureStore.getTransaction synchronized.

GeogitFeatureStore.setTransaction method was synchronized but the
getTransaction method was not. This may result in incorrect behavior
at runtime, as callers of the get method will not necessarily see
a consistent state for the object.
Fix exception created and dropped rather than thrown