Code clean-up in platform agent to improve coverage

Code clean-up including removal of obsolete unused mechanisms, and addition of appropriate exclusion annotations for a more realistic coverage processing of platform agent modules. No changes in functionality.