title: Unable to access get method from request package in the function node
body: <p>I have added request module and made changes in main settings.js as per the documentation :</p>
  
  <pre><code> // Anything in this hash is globally available to all functions.
      // It is accessed as context.global.
      // eg:
      //    functionGlobalContext: { os:require('os') }
      // can be accessed in a function block as:
      //    context.global.os
  
      functionGlobalContext: {
      requestModule:require('request').defaults({jar: true})
          // os:require('os'),
          // octalbonescript:require('octalbonescript'),
          // jfive:require("johnny-five"),
          // j5board:require("johnny-five").Board({repl:false})
      },
  </code></pre>
  
  <p>This is the code in one of my function nodes :</p>
  
  <pre><code>var request = context.global.requestModule;
  request.get('http://192.168.0.44:3000' + '/api/stats',
  function (err, data) {
      if (err) {
         console.log("could not process data");
      }
      else {
          var body = JSON.parse(data.body);
          msg.payload = body.deviceCount;
      }
  });
  return msg;
  </code></pre>
  
  <p>My node red version is (0.16.2) </p>