Upgrade to Django 1.6

A lot of crufty changes had been waiting for us... mainly the removal of function-based generic views and the new default `{% url %}` tag syntax. I also pulled out the markdown filter we use from Django 1.5 (it's deprecated now), updated `select_related` syntax, and explicitly specified Pickled sessions (new default is JSON).