Better test `robottelo.common.ssh._get_connection`

Do not actually attempt to create SSH connections when testing
`_get_connection`. Instead, mock up `paramiko.SSHClient` and intercept calls to
methods like `connect` and `close`.

Also, fix a few pylint warnings regarding incorrect usage of logging functions.