Remove .editorconfig

html2text.py doesn't comply with it anyway (e.g., html2text.py has Unix
EOLs not MS-DOS ones) and it breaks those who would actually have
support for editorconfig in their $EDITOR.
Remove depreceated function has_key.

Signed-off-by: Matěj Cepl <mcepl@redhat.com>
Switch tests to unittest (w/generated test cases)

Specifically:
  * add test generator
  * remove all direct printings to stdout (reporting should be done by
    the unittest)
  * close all open files (unfortunately, we cannot use with statement
    with python 2.4 compatibility)
  * iteritems -> items ... to be 3.* compatible (and we really don't
    need generators here)
  * fix Travis-CI metadata to work on whole supported range of python
    versions.
  * make installation of dependencies in travis-CI and other testing
    related stuff working independently from python version and both
    with unittest (for python >= 2.7) and unittest2 (for python < 2.7)

Signed-off-by: Matěj Cepl <mcepl@redhat.com>
Make html2text.py compatible with python 3.*

* Don't expect u'' strings to work.
* Fix nbsp_unicode test.
* Also remove workaround for python < 2.3 ... we really don’t need it
  anymore.
* Fix <pre> in list tests.
  Replace onlywhite function with RE.

  I believe that Aaron by mistake put to the html2text.py his
  contribution to the Obfuscated Python Code Contest.

  For the reasons I have no chance to decipher, I have to use RE.
  More obvious replacement with para.isspace() doesn't work.

Signed-off-by: Matěj Cepl <mcepl@redhat.com>
Merge branch 'remove_editorconfig' into next
Merge branch 'has_key_remove' into next
Merge branch 'fix_tests' into next

Conflicts:
	test/run_tests.py