MDL-37858 behat: Arguments transformations

To remove the escape characters and to
replace var names for nasty strings
MDL-37858 behat: Testing the step arguments replacements