Run tests via python setup.py test

Note a hack added to fix an import race condition inside nose (might
be specific to a particular version(s) of nose.