added paginator interface
hasPage now returns false on pages < 1
added configurable defaults for getNextPageNumber($d) and getPreviousPageNumber($d)