Update daemon.js to allow passing of flags

There does not seem to be a way to pass flags to the underlying node.exe call, even though there is this facility in the arguments tag in the XML file. This small hack allows flags to be passed on.