added python2.6 support and fixed tox python version typo