"ravtest run --dump" now shows YAML
Improve argument parsing for sub commands.
Use the "mock" package for mocking.
Add "ravtest ssh" command.

This change also moves some common functionality from RunCommand to
SubCommand so that it can be used by SshCommand.