code: function initNode(initObj) {
          var resetUpdateProgres = false;
          if (!isNodeDomainInitialized) {
              MessageIds = initObj.messageIds;
              updateDir = path.resolve(initObj.updateDir);
              logFilePath = path.resolve(updateDir, logFile);
              installStatusFilePath = path.resolve(updateDir, installStatusFile);
              registerNodeFunctions();
              isNodeDomainInitialized = true;
              resetUpdateProgres = true;
          }
          postMessageToBrackets(MessageIds.NODE_DOMAIN_INITIALIZED, initObj.requester.toString(), resetUpdateProgres);
          requesters[initObj.requester.toString()] = true;
          postMessageToBrackets(MessageIds.REGISTER_BRACKETS_FUNCTIONS, initObj.requester.toString());
      }
docs: Initializes node for the auto update, registers messages and node side funtions
  @param {object} initObj - json containing init information {
  messageIds : Messages for brackets and node communication
  updateDir  : update directory in Appdata
  requester  : ID of the current requester domain}