"5 for $50" Sale Calculator

This is a *really rough* version of a "5 for $50" sale calculator. Wanted to gauge interest and see if this is something that would be included in core or is better fitted for a extension.

If this is something that could be included in core I'll clean it up and write some tests.