Upgrade to Behat 3

Changed context to support Behat 3. Helper files are from [PHPSpec](https://github.com/phpspec/phpspec/tree/master/features/bootstrap/Console).

Not sure about SnippetAcceptingContext if simple or regex is preferred.