Upload using sftp, not scp.

If scp is not installed on remote host, it fails.
Formatting.
Add method for remote test ommand.
Use method for remote command testing.
Configuration namespace and task to configure sudo.