Fixed issues for 1.7 version of orientdb
Fixed transaction issues and test cases - major update due to orient db 1.7
Merge remote-tracking branch 'origin/master' into dev