Switch to tox for testing
ReferenceError -> NotFoundError

Avoid overwriting builtin class
Clean up regular expressions
Hard code old style regex

This isn't going to change, and this is less confusing.
PEP8
Add mock to tox dependencies
lots of new tests
Refactor CLI-related code
Tests for the actual request
Fix a syntax error
Add testing for python 2.6
Target python 3.3 for testing