Improve process instance state assertions in JbpmJUnitBaseTestCase

Add assertion methods which rely on AuditService and work with actual process instance state.
Rewrite tests to use these methods instead of the old ones if persistence is enabled.
Restore deprecated assertion methods in JbpmJUnitBaseTestCase
BZ-1173505 - TaskSummary retrieved using the EJB interface does not have information about potential and current owner
BZ-1174880 - Security based filtering for process instance causes empty view
changed security constraints filtering for process instances to avoid empty results in case users do not have access to first page of the result set
BZ-1173609 - EJB runtimeDataService.getProcessInstancesByProcessName may return unwanted instances if prefix in name is the same