Import unittest2 only for python2.6 and earlier.

Looks for a feature only available in python >= 2.7 and
falls back to unittest2 as required.