Fix history and members pages to work during payday

Fixes #148.
Yes, that's one of the 2 real changes, the other being https://github.com/gittip/www.gittip.com/commit/05599ff42534a189cdd6b139fffed22e1418ed40, the rest is just noise due to adding tests.