Improve Promotion.applied performance

* An improved version of. https://github.com/spree/spree/commit/6a5f22c054fa3f0e6ef9a6bbc47502191336a170
Merge pull request #44 from MountainRoseHerbs/2-3-stable-mrh-fix-promotion-applied

Improve Promotion.applied performance