dimagi/commcare-hq — pull request #3984 by czue (2014-08-01 21:10:43+00:00)
Title: tweaks to reporting rates to make it somewhat more performant

the main one is to break out of the loop as soon as you find the right
report instead of grabbing all forms a-priori.

also some bulk loading of documents up front and a few smaller tweaks