Improved the error reporting for invalid regexes in step definitions

If the pattern looks like a regex but is not valid, an exception is now
thrown rather than letting it be considered as a turnip pattern.
Merge pull request #518 from stof/regex_transformer

Improved the error reporting for invalid regexes in step definitions
Added the branch alias for master