Only require unittest2 on Python < 2.7.

This helps with Python 3 compatibility since `unittest2` fails to install
on Python 3.