Fixed a bunch of bugs in the paging mechanisms of the IdIterator:

- Passing same argument twice (max_id / since_id) to method
- If you supply only max_id and not since_id, you try to subtract 1 from since_id which is set to None
- The paging mechanism itself did not work as expected, now it does (both next and prev)