Store machine into instance variable on actions

Remove the need to pass `machine` and `config` instances through all
methods.
Move `escape` helper from `Action::ConfigureYumProxy` to `Action::Base`

Allow other actions to use it too.