Allow groupingHash setting

Let the user override  Bugsnag's grouping algorithm by specifying a
grouping hash as a parameter.