adding :retries accessor, currently only affects vagrant, but allows for N retries of a failing (non-0 exitcode) command - default is 0
moving the setting of output to above where exception is thrown so that we get the right output