PY26: Use local unittest that gets unittest2 for python 2.6
PY3: Use six imports for generator and xrange