Implements ACT-2092: Create parent interface for TaskQuery and HistoricTaskInstanceQuery that groups all common methods