CMS-4024 Fix usage of com.enonic.wem.api.content.FieldSort in FindNodesByParentParams

Moved to query-package
CMS-4074 Implement "parent" field query usage for NodeQuery

Made factories statics. Refactored a bit to allow for easy adding of parent filters.
CMS-4074 Implement "parent" field query usage for NodeQuery

Supress the unchecked here, we will only pass inn AggregationQueries
CMS-4023 Rewrite logic to check if content has children

Populate hasChild for Node, with query.