Python 3 support upgrade

This fork has been upgraded to Python 3 and been tested with Python 3.3, while retaining Python 2.x support.

* Backwards compatibility was taken into account for the `HTMLParser` import which now tries to import a Python 3 version first and if that fails due to an `ImportError` it tries to import a Python 2.x version.
* A print statement was modified to include parentheses (which is compatible with Python 2.x as well).
* A function call used to be indented to the wrong scope and this was fixed.
* The readme file has been updated to account for these changes.