add python2.6 support
add tox; fix tests to pass on python2.6
add tox to travis