Date range initial implementation

Enables the selection of dates to draw data from. Hopefully, it will also reduce the stress on the server when visitors go to the page.

Note that this is extended off the returns branch. Merge that first
Move to the returns PR.