FLUID-5475 - Improvements to debugging messages in node.js

@colinbdclark - This is the second pull to be merged in the sequence for GPII-873 - it depends on 

https://github.com/fluid-project/infusion/pull/549

(and will need to have its github reference updated once that pull is merged)
this should be fluid-project, I think.