MDL-43584 behat: Removing DB calls from step definitions as much as possible

Old methods deprecated as the expected arguments
have changed.
MDL-43584 behat: Updating features to use the new expected arguments