JBPM-4145 TaskQueryService methods for dynamic querying (make it easier for rest service)