utils.version StringType replaced with basestring (works with unicode)

When working with .text attributes of selenium elements, we get unicode strings. Comparing such string (a version containing unicode string) with a LooseVersion obj raises an exception. This fix takes care of that issue.