Do not depend on unittest2 if using Python 2.7

All features of unittest2 are included in Python 2.7's unittest so there is no need to depend on this package if using Pyhton 2.7

(Revised commit range of previous pull request.)