Fixed some compatibility issues with py2.6 and py3.3

Updated README