Preparing for PyPI test

Incorporated @marsam's changes from his pull request to @misja
Changed dependency from chardet to charade
Changing refs from chardet to charade
Adding license kw to setup()