Added command lifecycle logging test for pretty formatter
Added command lifecycle logging test for pretty formatter

Try to protect against duplicate log lines caused by the interaction between the backend, command and formatter

robd/sshkit,capistrano/sshkit,mikz/sshkit