Fixing --run-as-user and --run-as-group when in fork mode

ForkMode.js now probe for a user id and group id if `--run-as-user` or `--run-as-group` is set. #562