Improved speed of Shipment#manifest

Grouping by the attributes variant_id and line_item_id showed a 2-3x improvement for big carts on the delivery page.

By grouping by these attributes rather than their association return values, we're not creating N new LineItem and N new Variant objects. We're now only creating 1 of those each per group.