fix gorm newTransaction issue

calling newTransaction multiple times caused IllegalStateException.
Created a unit test to expose problem and fix.  Last release failed
to bump the version, bumped it to SNAPSHOT and fixed the build file
so this would not happen again.