Fix exception type when record is duplicated
graphdb/target/databases directory was removed from build.
Issue when less than limit records are returned in indexed queries was fixed.
fix for named parameter in update query.
Merge pull request #1797 from tglman/develop

fix for named parameter in update query.
Unneeded index flush was removed
Introduced first metrics in RWCache
Merge branch 'hotfix-1.6.1' of https://github.com/orientechnologies/orientdb into hotfix-1.6.1