Improvment to salt.utils.cmd:

- when using list matching, return as soon as all results are there
- when using custom configuration directory, try to use the master conf.