Fixed issue where jdbc connections were illegally committed

When Spring manages a transaction, it should not be commited. Now, the Spring
wrapper will check if a connection's transaction is managed by Spring before it
is actually committed.

Issue #AXON-260 Fixed