django 1.7 support, py.test

This fixes Django 1.7 support, and switches the test runner from nose to py.test for better Django 1.7 support