Adds language to <html> tag
Adds way to "score" sleep based on idealsleepinterval
Updates announcement text for network issues.
Adds LOCAL_MIDDLEWARE_CLASSES.

Useful for e.g. django-debug-toolbar.  Should not break existing config.
Makes leaderboard queries more efficient.

Went from 500+ to 26 queries according to django-debug-toolbar.  Should
make the thing load in a more reasonable amount of time.
Fixes an AnonymousUser bug in leaderboard.