Add setGroupingHash function to Bugsnag_Error class.

Added a setGroupingHash method to the Bugsnag_Error class. This is meant to be set in the beforeNotifyFunction. The Error.toArray() method was updated to only add the groupingHash to the array if it has been set.