Stub out Kernel.exec for testing the options sent to SSH.

Also fixed an issue with the test environment having mis-ordered
arguments sent to create_config_file.
Merge pull request #28 from pearkes/f-ssh-stub

Stub out Kernel.exec for testing the options sent to SSH.