user, dates and hour stats for an app
Generate user, dates, hours JSON objects for the stats page
Default Stats page per app built
Include MaxMind PyGeoIP GeoLite license
Include the Stats link in the local app nav
Show User Name, not just the ID
Minor tweaks to the CSS for better UI
Remove IPs from Anonymous users in the pie charts
Refactor stats code to its own module
Refactor stats_user to use SQL queries
Refactor stats_dates to use SQL queries
Do not show the web map if there is no GeoLite.dat

This commit removes the web map and user table for anonymous users, if the DAT
file GeoLiteCity.dat is lost. There is a README file in the /dat folder that explains
how an admin should place the file there.
Docs for enabling GeoLite Database for statistics maps.
Unit Tests for the stats page
Show a warning for apps without tasks. Closes #359
Require Python 2.7 for collections. Closes #359
Fix: cache stats for 24 hours. Refs #359
Merge pull request #415 from PyBossa/issue-359-app-stats

Issue 359 app stats