fix none paginator when page_class is not overrided, to_a is undefined, fix #1
merged with programatica to better handle paginator