Don't assume SSH server runs things in shell, that's not what the API says.
Failing test for get_output() as well.
Make tests actually correct.
Quote commands when using SSH, thus ensuring tests pass.
Lint fixes.
Merge pull request #332 from ClusterHQ/ssh-quoting-318

SSH shell quoting.

Fixes #318.
Fixes #331.