PowerStateProcessor: Exceptions no longer stop processing
PowerStateProcessor: Exceptions no longer stop processing

If an exception is raised inside a generator it cannot be continued.
To get around this exceptions are now caught and later output via the
logger.

Also added logger setup when running cpustates as a standalone script

jimboatarm/workload-automation,ep1cman/workload-automation,bathepawan/workload-automation,Sticklyman1936/workload-automation,jimboatarm/workload-automation,bathepawan/workload-automation,ep1cman/workload-automation,bathepawan/workload-automation,bathepawan/workload-automation,bjackman/workload-automation,ep1cman/workload-automation,Sticklyman1936/workload-automation,bjackman/workload-automation,ep1cman/workload-automation,Sticklyman1936/workload-automation,Sticklyman1936/workload-automation,Sticklyman1936/workload-automation,bjackman/workload-automation,jimboatarm/workload-automation,ep1cman/workload-automation,jimboatarm/workload-automation,Sticklyman1936/workload-automation,jimboatarm/workload-automation,bjackman/workload-automation,bathepawan/workload-automation,bathepawan/workload-automation,ep1cman/workload-automation,jimboatarm/workload-automation,bjackman/workload-automation,bjackman/workload-automation