Backporting Qt App from Python3 to Python2 (SIP API Versions)

The issue came up with trying to integrate parts of an existing Python3/Qt app (mikidown) into a Python2/Qt app. After minor standard issues, like exceptions and print functions, many strange errors with respect to QString and QVariant handling showed up. Searching for solution considering the different unicode string handling between Py2 & Py3 did not give any answers: the solution lay in the different PyQt4 API versions for the different Python versions.