Fixed bug on replication and improved performance.
Fixed issue https://github.com/tinkerpop/rexster/issues/363
Merge branch 'develop' of https://github.com/orientechnologies/orientdb into develop