simplify and fix the SQL queries in /about/stats

closes #1770
use data cached in the paydays tables instead of recomputing it
fix query to ignore one-off tips that happen during payday
Merge pull request #2633 from gittip/fix-stats

Fix stats