packaging with a setup.py and proper package hierarchy

it's now a python package!

to develop inside a virtualenv:
(env)$ pip install -e .

to run the tests:
(env)$ python -m unittest discover

s/poorly formatted/poorly-formatted