Updated selenium-webdriver

Updated selenium-webdriver to be able to run tests with Firefox 19.
Use string#encode instead of gsub

Use string#encode to get rid of unsupported UTF-8 byte sequences such as
\xA0. The previous gsub-solution did not work with ruby 2.0
Note about Ruby 2.0
Fixed to work with Ruby 2.0.0