Re-applied commits of last 2 days.
Make JDK6 compatible.
Null check of context for transactions.
Fixed problem on REXSTER test cases when commit/rollback/stopTransaction was called on invalid graph instance
Merged changes