Replaces requirements.txt with a standard setup.py.

CI config now installs package and tests the installed copy.