Generalise get_web_root code to work for Totara Social too
Add behat wwwroot and 2.7 config file