convert doctests to unittests and only run uuid tests if uuid is not shipped with python (version < 2.5)
add six to install_requires, refs #288
add conditional imports for force_unicode and use six for python 3 support, refs #288
use as in except, refs #288
conditional StringIO import, refs #288