MODE-1822 Added tests that use Atomikos transaction manager

Other fixes for MODE-1819 actually fixed the problem, while this change only adds test cases and test dependencies on Atomikos to verify the expected behavior now works. Also added similar tests that use the JBoss Transactions library.

_This pull-request is based upon the [fix](https://github.com/ModeShape/modeshape/pull/710) for MODE-1819. Once that is merged, this can be merged into '3.1.x' and cherry-picked into the 'master' branch._