Moving calculation processing up

This needs to happen right after the getData for the list of entries, so
that the calculation process (which relies on work getData does to build
the proper query for sums, etc) gets the actual info it needs from the
actual query for that page, and not from some interceding getData
process that might have run in a template or somewhere else.
Merge pull request #103 from jegelstaff/move-gathering-of-calculations

Moving calculation processing up