Fixes #6812 : change Paginator::getItemsByPage($pageNumber) handle AbstractResultSet

Fixes #6812 
@samsonasik I'm fine with allowing iterators/traversables, but not "AbstractResultSet"