Start storing the request time.

This will make aggregating by time much easier, as mongo
can operate on MongoDate objects.
Update template to use new value.
Use aggregation framework to get average data

The existing line graphs were useless when there were multiple points
per day. The x-axis of graphs became unusable, and points were hard to
read. Hopefully grouping by date will give more useful trends over
longer periods of time.
Simplify trend graphs.

Update the graph output to use Date objects and parse the input
data.
Make dates go to midnight.

This is what d3 expects as well.
Add very basic regression test for new method.
Add pagination to the url view.

This will help when a page gets hit frequently.
Fix incorrect URLs

Urls weren't being handled correctly when they already had a
? in them. Fix that. Also extract twig autoloading into a function so
its easier to reuse in the test suite.
Fix pagination links being wrong.
Use string dates instead.

MongoDate() doesn't support timezone converions and the various date
operators in mongo operation on timestamps in UTC. There is no way to
covert to local timezone either, strings work much better sadly.
Fix double parsing dates.
Merge pull request #4 from preinheimer/simpler-url-page

Simpler url page