Fixes date parsing and pagination

Date parsing was broken in ruby 1.9 (month/day being reversed). I changed to use Date.strptime which should work on both 1.8 and 1.9.

Pagination was broken. It should now be fixed for all types although I only tested for receipts. Should fix issue #2.