Added `getFrom` and `getTo` to `Paginator` for easily getting the range of items shown.
fix getTo() method not returning the correct values