Fixed up tests for 2.7.5+ and added tox support

Didn't want to pollute my python dev env, so add tox support which utilizes virtualenv.