Make it possible to set user/group to root/root

Change the check for valid users/groups to check for definiedness
instead of for whether the return value is true. Makes it possible to
run a daemon as root/root.
Merge pull request #48 from avar/master

Make it possible to start daemons as root/root by setting user/group to root/root