Dirty application of the upstream patch for python3.0

Originally from https://bugzilla.osafoundation.org/show_bug.cgi?id=12853

All *.orig and *.rej files (as well the patch) are included.
Remove all rejects.

No other testing (not even building)
Remove all trailing space.
Update fedora_setup.sh to clean after itself.

After running the script source code should be git-clean.
2to3 conversion and some basic cleanup.
Replace all PyFile*, PyString_FromStringAndSize, and PyLong_AsINT.
Fix M2Crypto imports.

Temporarily was switched off import of m2urllib, m2urllib2, httpslib,
m2xmlrpclib. The main problem is m2urllib2 (and missing
socket._fileobject) which requires deeper rewrite.
Fixing tests.
ASN1 tests are not worse than in Python 2 version.

(which is not much said ... tests are awfully incomplete, and
ASN1_INTEGER tests crash python3)
Fixing BIO tests.

Unfinished business, so far.
Fix test_bio_membuf tests.
Fixing test_bio_file tests.