django 1.6 compat and fixed packaging

Updated to work with django 1.6 and fixed setup.py install.