InMemory fix bug: Ensure generation of query names according to spec [CMIS-668]

git-svn-id: https://svn.apache.org/repos/asf/chemistry/opencmis/trunk@1492081 13f79535-47bb-0310-9956-ffa450edef68
Merge branch 'trunk' of git://github.com/apache/chemistry-opencmis into trunk