Adding pagination support.
Add in Hibernate components for order and sort_by.
Loosen restrictions on order and sort_by.
Allow paging for DetachedCriteria queries.