MDL-42862 behat: update deprecated_message api

Deprecated message api now accepts a $throwexception param that if set to true always throws an exception
MDL-42862 behat: Final deprecation of various steps