JBPM-4135 Filter process instance logs by status in REST API
(cherry picked from commit 6751b51dd533d6ef95e9930cced4dc9cf640a69e)
JBPM-4143 Making sure pagination parameters are allowed for the query operation
(cherry picked from commit fb9c338fd153fd1285868de7367f0c8b17ffc647)
- FindBugs fixes