Aligned OrientDB impl to the new query refactoring
Merge branch 'master' of git://github.com/tinkerpop/blueprints