Change multidispatch `str` -> `basestring`

* caused recursion problems when filling Select with unicode as it treated unicode as iterable.
* so I changed all occurences I could find in pytest_selenium and web_ui.