Adds proposed functionality which enhances the ability of extensions to ...

...customize line items and the entire cart composition process

Followup to https://github.com/spree/spree/pull/5062 (that PR was for 2-3-stable)
@jsqu99 this line should remain here, and be taken back out of the controller as I mentioned in the other comment.