Fix bug 984952 - Update to newrelic v1.4.0 and enable RUM
1.0.31
[bug951709] - Changed env vars HOSTNAME to APP_HOSTNAME