JIRA HPCC-12093 added 'kill_process_by_name()', 'kill_component()', clea...

Kill init_<component>
Kill component processes
ran into some naming issues with pid so I had to change it to _pid_.  Also made the variables local where I could so I wouldn't run into the same sort of issue in the future.   This set of changes checks to ensure that the orphaned processes actually are killed off with SIGTERM and if not, will then attempt a SIGKILL on them.