Add smoke test for localhost; tie up some loose ends
Add a setup.py file
Fix Python 3 compatibility
Add a spec file for Fedora & RHEL