Support current django trunk (1.6)

Envelope gives an ImportError since [this commit](https://github.com/django/django/commit/59ddb79e9090f8609f9125379db08adc95d507c0) to the django trunk.

This patch fixes this and also makes the example project work on trunk/1.6 by using the new style manage.py.