Tidy: Remove cout uses, whitespace changes to source, commented unused code

Converted use of (std::)cout to qDebug(), former unusable on Windows and
latter, although not immediately accessible in that environment could/can
be handled by IDE and is used elsewhere.

Some uses of qDebug()/qWarning() prettified.

Removed include "guard" from HostManager.cpp not required!

Some unused items commented out.

Some "then" parts of if() tests indented to next line for clarity. White-
space modified in some places to match other usages/code layout.

Signed-off-by: Stephen Lyons <slysven@virginmedia.com>