CLI: Add feature enable/disable auto-completion

Refactor feature list code.
Add disabled features to list output.
Add more console colors.
Change output to stdout for general logging.

fixes #7381
fixes #7415
refs #7376
Build fix for RHEL
Add color code for LogDebug

fixes #7416
Initialize Winsock API using INITIALIZE_ONCE

fixes #7413
Implement platform-independent wrapper for poll()