Fix test configuration and remove django 1.3 support.