Move GetTotalHandler into handlers.py, add tests.

Also updates the memcache entry for the total at pledge time, so the
progress bar should update pretty much instantly!