Fix setup.py for tests

This allows tests to work properly from setup.py:

    python setup.py test

The `requirements.txt` file should probably be removed or be split into two files that are imported and read in the `setup.py` file directly.  That would have avoided the missing django_libs dependency in `setup.py` which is not missing in `requirements.txt`.