Setuptools installable

Fixes #3 and a couple of other problems found when trying to "pip install", including a source code syntax error.
Patch in #22