Fix themes URL in sidebar template
Remove most stuff from the initial main.html

When someone creates a new site, we want them to apply one of our themes
unless they really know what they're doing.  This excessively plain
design makes it clear that using the theme selector/editor will be
necessary to make the site functional.
Add theme setup directions to index.html

Because we don't anticipate that anyone will use the repository's
index.html in a production site (it will always be overridden), this
commit puts some helpful instructions there for the first things that
should be done after creating a new site: selecting a theme, and
populating QSD pages.
Add per-class and cleanup to survey dump

Add support for per-class questions, and clean up a bunch of things.
Also make the performance a little bit less terrible, hopefully.
A few small fixes to survey export
Makes meets_deadline errors more useful.

Adds something to tell you the program module and the bit that caused
the deadline error.  Also makes the teach and learn deadline pages more
similar and hopefully a bit more understandable to users.  Fixes #279.
Fix import for staticfiles_urlpatterns
Merge pull request #535 from learning-unlimited/django-1.4-fixes

Django 1.4 fixes
Moves admin dashboard init code from adminvitals.js to admincore.js

Fixes bug introduced in commit f0f5c97cc2, which moved code from the
dashboard to adminvitals. This broke the rest of the dashboard
(i.e. adminclass and any future dashboard modules) if adminvitals
wasn't enabled.
Add django.contrib.redirect
Update esp/esp/admin.py

Removed superfluous import
Merge pull request #541 from learning-unlimited/nil3-shorturls-3

Add django.contrib.redirect
Fix #529 -- make "Back to Page View" link bypass browser cache after editing a QSD page
Add template files for generic1 theme

This is very similar to the index.html and main.html templates that were,
until recently, the ones provided in the repository in the theme-editor
branch.  (I gutted those in 2809fed.)
Move body padding from elements/html to generic1 theme

Other themes are not going to need this hack of adding 60px to the
top of the page (so the floating navbar doesn't obscure anything).
So, implement this hack in a proper theme-specific way by putting it in a
LESS file.
Add missing </div> tag in loginbox_content.html
Tweak theme editor spacing slightly
Make ESPUser.getAllUserTypes() rely entirely on Tag

Rather than trying to merge the Tag data with some default, this now takes
the Tag-specified types verbatim if the Tag is set.  If the Tag
(user_types) is not set, you get the default user types.
Use inline QSD block in generic1 index.html template so it's editable
Adjust the default navbar and sidebar to look palatable to most users

This took out some dead links and compressed the admins' links somewhat.