Merge pull request #465 from hintjens/master

Fixed #464, other changes
Added zsys_run_as () method

Drops PID into lockfile and optionally switches to specified
group/user. Ideal in combination with zsys_daemonize ().