#5: Applied 2to3 in order to also support Python 3.
#5: Fixed issues that prevented code to run under Python 2.7.
#5: Fixed tests broken under Python 3 caused by some strings that should have been actually been bytes.