Use in memory state for adjustment calculation

This is a PR on top of https://github.com/MountainRoseHerbs/spree/pull/37 and should be merged after.

All mutations in changed code are dead as usual.