replace basetring/xrange

basetring --> six.string_types
xrange --> six.moves.xrange

Partial Implement: blueprint tempest-py33-support

Change-Id: Ia7ae4415d6d4ca9ee04e6735b2c6a6131c05a04f
14 files changed