Fix issues with install_data missing from the sdist package.

Added a tox.ini to allow tox to run tests in virtualenv

Add .gitignore to ignore the .tox directory created by tox and the .idea directory created by pycharm.