Adding error notice method

Adding noticeError($msg) method. Let me know when anything is missing. Thanks

Here is a documentation:
https://newrelic.com/docs/php/the-php-api