Allow caller to decide if transaction should start automatically.

This is for example needed by ops4j Spring Transaction Manager.
Merge pull request #2019 from waslos/develop

Allow caller to decide if transaction should start automatically.