Behat/Mink — pull request #182 by asm89 (2012-01-30 12:09:48+00:00)
Title: Single quotes weren't always properly escaped in the SahiDriver

There were a few places where single quotes weren't properly escaped in the SahiDriver. This patch adds the escaping in the appropriate places, adds a web-fixture test case for selecting an element with a single quote and tests the `SahiDriver::prepareXPath()` function for completeness sake.

The new web-fixture test was also successfully tested against Selenium.

Props to our intern @michielvanderkwartel for heading into the issue. ;)