Code tidyup.

Move fetching code into a dashboard/fetch subdirectory, and refactor to
split the calculation of daily statistics from the fetching of the data
for them.
Index search result click positions too
Output some sample query position information
Index search clicks by date, and include a date filter in the search
Minimal flask app to serve stats as JSON
Copy Edd Sowdens templates from the live search dashboard.
Default to fetching two days; allow longer to be specified on the command line
Serve only to localhost for now
Hacked version of edds live dashboard, showing click rate stats
Set number of shards and replicas
Fix parameters in put_alias.

Use named parameters for put_alias call, since the client changes the
order of the parameters between 0.90 and 1.0
Script to perform fetch repeatedly.

This is a poor-man's cron, and is just intended to be used on the local
box in our office.  Any future deploy of this dashboard on more
"production" hardware should do this more sensibly.
Add command line option to start fetch a given number of days ago
Fix division by zero in fetch

This was happending for results when there were no positions stored.
For example, for dates before we deployed cookies.
Indicate when the fetch is waiting
Serve HTTP to everyone
Fix css to show sparkline
Improve the click rate graph

Remove smoothing, and other bits.
Fix start and end days ago
Don't limit stats to only 10