failing test for get_take_last_week_for
fix get_take_last_week_for to work during payday
rewrite class as function and move it to a separate file
failing test for iter_payday_events
fix iter_payday_events to work during payday
Merge pull request #2572 from gittip/fix-148

Fix history and members pages to work during payday