setup.py: Bump version to 0.4.0

In this release:
- Django 1.6 support
- ALLOWED_HOSTS iterable for Django 1.5+ populated with the sites defined
- Per-domain cached template loader
Added tag version-0.4.0 for changeset 2da6336d70b0