Add request buffer for batch mongo insert

I have no idea how big to make this buffer, but starting at 1000 seems
to work well enough. The memory footprint is negligable so it could
probably be increased quite a bit if need be.
Cache the parsed json data instead of the response

This puts requests's internal call to json.loads in the cached function
which speeds things up a bit. The downside is that requests resulting
in 500 errors will not be cached. However, these should be rare,
especially in production.
Cache the GeoIP lookup
Make summary script actually call handle summary