Added support to send Console error logs to Loggly

Added a configurable field to the library to send console errors to Loggly. Default value is true.