LDEV-3599: Load a batch of Learners in Learners tab in Monitoring interface using well-tailored SQL rather than Hibernate fetch and processing in Java.
LDEV-3599: Load the really needed objects instead of using Hibernate to derive them from parent objects. Use SQL for counting instead of fetching full collection in Hibernate and checking its size. Prepare for paging: add offset parameter to queries.