Move shared deploy config from separate production & staging files
Massively improve speed of home page

Use aggregate SQL visits_count rather than ShortUrl.visit_count.
Previously a Visit query was run per ShortUrl, now the aggregate counts
from the ordering SQL are used (only one query being run).