Process uptime condidtion

For things like periodic restarts of processes it would be great to have the uptime of a process as condition.

Attached is the code for a running (tests) version. I'm not certain how to test it for full compatibility with different OS since the current tests seem to be a bit incomplete in that matter too.