pmwebd: make foreground mode less magic
pmwebd: make foreground mode less magic

When invoked as less than root, several of our tools still try to do a
__pmSetProcessIdentity() call, which is either going to fail, or force
a user/developer to do -U `whoami`.  Instead, when invoked as non-root,
let's just leave process ownership alone.

In a similar vein, in foreground mode (default for pmmgr, non-default
for pmwebd and others), output should go to plain stdout/stderr
instead of to a logfile.

Both these make hand-running and developing these programs easier.

andyvand/cygpcpfans,edwardt/pcp,mbaldessari/pcp,wuliming/pcp,andyvand/cygpcpfans,andyvand/cygpcpfans,tjanez/pcp,andyvand/cygpcpfans,mbaldessari/pcp,edwardt/pcp,andyvand/cygpcpfans,prasincs/pcp,mbaldessari/pcp,prasincs/pcp,edwardt/pcp,aeg-aeg/pcpfans,prasincs/pcp,mbaldessari/pcp,andyvand/cygpcpfans,aeg-aeg/pcpfans,wuliming/pcp,prasincs/pcp,aeg-aeg/pcpfans,aeg-aeg/pcpfans,tjanez/pcp,edwardt/pcp,tjanez/pcp,prasincs/pcp,edwardt/pcp,tjanez/pcp,tjanez/pcp,aeg-aeg/pcpfans,adfernandes/pcp,andyvand/cygpcpfans,adfernandes/pcp,wuliming/pcp,wuliming/pcp,aeg-aeg/pcpfans,prasincs/pcp,mbaldessari/pcp,adfernandes/pcp,adfernandes/pcp,aeg-aeg/pcpfans,tjanez/pcp,edwardt/pcp,andyvand/cygpcpfans,wuliming/pcp,tjanez/pcp,wuliming/pcp,aeg-aeg/pcpfans,adfernandes/pcp,wuliming/pcp,prasincs/pcp,edwardt/pcp,adfernandes/pcp,wuliming/pcp,edwardt/pcp,tjanez/pcp,adfernandes/pcp,prasincs/pcp,mbaldessari/pcp,adfernandes/pcp