code: function PluginRender(pluginInstance, rendererInstance) {
      this._view = "index.jade";
      this._locals = {};
  
      var ns = pluginInstance.pluginNamespace, obj = PluginHelper.getPluginIdAndIId(ns), pluginId = obj.pluginId,
          req = PluginHelper.cloneRequest(rendererInstance.req, pluginId), res = rendererInstance.res;
  
      Object.defineProperties(req.params, {
          plugin: {
              value: obj.pluginId
          },
          iId: {
              value: obj.iId
          },
          namespace: {
              value: ns
          }
      });
  
  
      Object.defineProperties(req, {
          pluginRender: {
              value: this
          }
      });
  
      Object.defineProperties(this, {
          req: {
              value: req
          },
          res: {
              value: res
          },
          pluginId: {
              value: req.params.plugin
          },
          iId: {
              value: req.params.iId
          },
          plugin: {
              value: Plugins.get(req.params.plugin)
          },
          namespace: {
              value: req.params.namespace
          },
          pluginInstance: {
              value: pluginInstance
          },
          theme: {
              value: rendererInstance.theme
          },
          page: {
              value: rendererInstance.page
          },
          pluginPermissionValidator: {
              value: rendererInstance.pluginPermissionValidator
          },
          pagePermissionValidator: {
              value: rendererInstance.pagePermissionValidator
          },
          pluginInstanceDBAction: {
              value: rendererInstance.pluginInstanceDBAction
          },
          isExclusive: {
              value: rendererInstance.isExclusive
          }
      });
  }
docs: Constructor to create Plugin render, which will render the plugin's html
  @param pluginInstance {Object} Plugin Instance model
  @param rendererInstance {PageRenderer} instance of PageRenderer
  @constructor