BZ-908812 - allowing REST access to BAM data (cherry picked from commit 822752289d81a3badf9a255f35a15a0a3daa5f90)

- ProcessInstanceLog's are expected and more useful than ProcessInstance's
- Fixed paginate bug (no pages returned when no pagination has been specified in some cases)