[NX-715] Query over components and assets

https://issues.sonatype.org/browse/NX-715

This PR is primarily about the query service in nexus-component-services. For the purpose of this PR, please ignore the state of nexus-component-assetstore and nexus-component-recordstore. They need to be cleaned up post-merge.
The final version relies on Orient's named parameter escaping.