Added config option runAsUserAgent

This makes it possible to run a UserAgent without sudo/root privileges. To prevent permission issues it's logging to the user logs not the global logs.