MDL-46891 Behat: Updated behat yml to support behat 3
DONOT INTEGRATE ONLY FOR TESTING
MDL-46891 Behat: Behat 3 doesn't support named selectors

using named_exact as an alternative
MDL-46891 behat: Use custom SubStep for chaining
MDL-46891 behat: Click edit first to see grade link
MDL-46891 behat: Re-arranged classes in extension
MDL-46891 behat: Expand fields before selecting text area
MDL-46891 behat: Add support for moodledirroot
MDL-46891 behat: Use moodleSelenium2driver
MDL-46891 behat: Create new table node, don't set values again.
MDL-46891 behat: Optimised login step and context helper
MDL-46891 behat: selenium2Driver expects JS to be in 1 line

MinkSelenium2Driver #112 introduced check for JS
to be 1 line and prefix return if first word is
not return, so modifyed JS to respect this