Formalize as a package

Would be great to have this as pip-installable package. Here are initial steps for that. This successfully built tar.gz and eggs for me. Leaving that to you for posting to PyPI if you are interested. If not, let me know if I can. 

Changes:
Added setup.py and Github's python-focused .gitignore.