Fix #532: Update manage.py for Django 1.4
Fix #533: staticfiles setup for Django 1.4
Set up Apache to serve static files

Modify the dev server setup script to add a line to the Apache
configuration to serve static files at /static/.

Also, replace the old /media/ and /static/ URLconfs with Django's
shortcut functions that do the same thing but only in debug mode
(letting Apache serve those URLs in production mode).
Remove instructions that reference the old admin media location
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
Merge branch 'main' of github.com:learning-unlimited/ESP-Website into lua-junction-app

Conflicts:
	esp/esp/django_settings.py
Improve Formstack error handling

- Check to see if form_id and api_key are non-null before trying
- Wrap API errors in esp.formstack.api.APIError
- Make FormstackForm lazier about fetching its info (so that if
  there's an error it doesn't blow up as soon as it's instantiated)
Fix up FormstackStudentAppManager.fetch

- Save the StudentClassApps to the DB (which wasn't being done before
- Use the FormstackStudentClassApp proxy model
- Wrap everything in transaction.commit_on_success
Make subclasses of StudentProgramApp/StudentClassApp work

This is a schema change that adds a field app_type to
StudentProgramApp, allowing it to determine which subclass to cast
itself to upon initialization. This should allow different application
backends (CustomForms, etc) be substituted in place of Formstack in
the future.

Other changes:

- FormstackStudentApp is now renamed FormstackStudentProgramApp for
  consistency (since the type-casting is done according to class
  name). FormstackStudentAppManager and FormstackStudentAppAdmin are
  renamed accordingly.

- FormstackStudentProgramApp is now a proxy model, and its
  submission_id field has been moved to StudentProgramApp.
Add new teacher_ranking field to StudentClassApp; modify teacher_rating field
Clean up FormstackAppModule -- remove unused/commented code
Fix reference to a remooved method in get_responses()
Add TeacherAdmissionsDashboard module
Some optimizations

- Allow the same program object to be used for every StudentClassApp (this helps when calling getModuleExtension)
- Move Markdown processing from the server to the client
Rename TeacherAdmissionsDashboard -> AdmissionsDashboard, and add a manage component