Add setup.py and friends for upload to PyPI

Had to add folder again for necessary package structure.
Add tox support
Use valid file type

The 'file' keyword does not exist in Python 3. This version have been
verified to work with both Python 2.7 and 3.4.
Close inputfile after reading
Bump version