Add new configuration entries "Change/Http/Web/Monitoring" and "Change/H...

...ttp/Rest/Monitoring"

If active add HTTP Header "Change-Memory-Usage" and "Change-Monitoring-Page"
For javascript access in page add code below in template:
  window.__change = {monitoring: {{ pageResult.getMonitoring() | json_encode | raw }} };