Created a sync process class that hides the complexity of event pumping

And refactored OscapScannerLocal to use it to query oscap capabilities.
Refactored SSH connection establishment into SshConnection