JBPM-4145 TaskQueryService methods for dynamic querying (make it easier for rest service) (cherry picked from commit 829202bc96a5b649b4ff99fb91aec7574f6e6956)
JBPM-4135 jbpm-audit findVariableInstancesByName* methods (cherry picked from commit 7d88a467a31555036a70c7f680b6ac793cfc375e)

- Removed StaticAuditLogService because it will be difficult to maintain
BZ 1015221 Escalation definition should use the 'id' attribute not the 'escalationCode' (cherry picked from commit 4f6440e92a21ff3488c076b03453c9683714f388)