removed lock implementation slowdown.
Merge branch '1.7.10' of github.com:orientechnologies/orientdb into 1.7.10