Misc fixes

Noticed some errors filling up the error logs. Here are the quick fixes to get rid of them.

Fixed problem where $app was not passed into configNewRelic.
Suppresed undefined index messages when operating on $app['newrelic.options'].