Added the getPageRange functionality to the paginated collection consumer
Added tests and ducomentation for getPageRange