software process children, vanilla software process, and fixes for clients

firstly some little things -- improving detection of tmp dir and big `ResourceUtils` cleanup (moving most to new `Os` class) -- then some big neat things which turned out to be very easy -- see the Vanilla*Test classes for a quick intro

wanted in the field where an agent is often started along with the main process, but we want to manage the agent separately