first bunch of fixes for py26 compat
bump version. next one will be 3.7