Apply the NewBase trick only for Django 1.4 compatibility

Amends: PR #8
Declare Python 3 compatibility