Only require unittest2 on Python < 2.7.

This helps with Python 3 compatibility since `unittest2` fails to install on Python 3.

I am planning to take some of the ideas out of #94 and make them into separate PRs that are less controversial and easier to understand and accept one at a time.