behat: introduce Process class

The run_check() method is a shortcut for implicitly checking that a
command runs succesfully.
behat: set different db prefix for subdir install
behat: be more verbose when a command fails
generate test plugin on the fly, instead of downloading one from github