MetadataSelectQuerySpec: add postProcessQuery

To allow customization of the query generated in PatientSetQueryBuilderService
based on the user.
Make xtrial ont terms implement MetadataSelectQuerySpec
Move sql gen in AbsQuerySpecType to PatientSetQBS