Bug 1104902 - Fix several bugs in OOM Plugin app restarts

Several code paths had not been properly tested in this code, and
various typos and logic errors have been corrected.
Bug 1104902 - Fix unit tests
Merge pull request #5478 from a13m/bz1104902

Merged by openshift-bot