Bug 1100609 - Process resources keep monitoring old process when changing piql or pid file

Wrapped config params in a class
Null out config instance and process instance when stopping component
Do not fill the metric report if the process is DOWN
(cherry picked from commit 481dbc2a158f44a73d37465c2676fddb1b13e9a4)