Upgrade to Spree 2.2, fix failing tests
Merge pull request #2 from bonobos/2-2-upgrade

Upgrade to Spree 2.2, fix failing tests
fix for no matched line items

* reduce the noise to honeybadger on this issue https://trello.com/c/03KXlfyE
* we were handling and returning 0 anyway, this just gets rid of the HB alerts.
* this is for the 2-2 branch...separate one for 2-1 on way
Merge pull request #3 from bonobos/fix/2-2-stable/handle_no_matched_items

fix for no matched line items
update asset paths

to match spree-2-2 convention
overhaul for Spree 2.2

don't use spree's calculator system for taxes in 2.2.

we tried to integrate avatax's order-level system into spree 2.2's line_item-level system but it was getting ugly.

instead, we provide a no-op calculator to make spree happy and create an order-level tax computer that hooks into order changes and recalculates taxes as needed afte
workaround for money gem
Add missing calculator method stub

We don't know how to handle shipping yet.  But prevent blow-ups as long as shipping is detected to be 0.
Calculate tax earlier

Front end needs to know taxes before it submits "payments".
Don't recalculate tax on an order when an address is changed and it is completed already
remove temporary workaround

spree now has a published version number (2.2.2) that solves the problem.
Merge branch 'remove-workaround' into 2-2-stable
minor reformat

move "def self.X" into "class << self..." block. preparation for adding more class methods.
generate new tax adjustments in closed state

prep work for subsequent closed-tax changes
update all past tax adjustments to a closed state

more prep work subsequent closed-tax changes
Update tax adjustments to always be closed

This prevents Spree from trying to automatically recalculate taxes on its own.
We have our own flow for figuring out when taxes should be recalculated and don't want Spree doing its own thing.
This should make things more robust and also lets us clean up some messy code in our pseudo-tax-calculater (spree/calculator/avatax.rb).
Note that there is a new migration here that needs to be run.

Also update the README to list some known issues.
Delete stale tax adjustments, even when their line items are missing

This shouldn't happen, but we currently do have some adjustments whose
line items have disappeared. This will include getting rid of those,
also.

This will fix
https://trello.com/c/soEC8z4P/49-spree-backend-error-nomethoderror-undefined-method-persisted-for-nil-nilclass
and
https://www.honeybadger.io/inspector/p/33720/5895315/22#comment_1471956
Delete all tax adjustments before recalculating
Add readme note about returns/refunds/etc.
Attempt to fix TravisCI integration

Reading the TravisCI docs it seems like 2.1.0 is not pre-installed on the workers so falling back to .ruby-version is not enough.