Cross group transaction support

Adds XG transaction support for Python 2.5, Java, and Python 2.7.