added min_cpu and min_mem parameters in ResourceWatcher plugin: restart process if under cpu value or under mem value if configured.
Added and updated tests