[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.
I'll write up a Mediator-based example which avoids the need to manually register adapters so you can compare it with the current approach and decide which one you prefer.