Use unittest for python3>= and unittest2 (with backported 2.7 features for older python versions)