Prefer exact matches over partial matches

Support for Mink pull request #386 to prefer exact matches over partial matches.

See https://github.com/Behat/Mink/pull/386