Allow custom grouping of deprecations

Allow an optional `:type` key for `deprecate`. Enables us to solve https://github.com/rspec/rspec-expectations/issues/348

@myronmarston @soulcutter