Update to post-then-commit flow for purchases

Just like return invoices currently do in the 2-2-dev branch.

Create an Avatax "SalesOrder" to capture tax info prior to the "confirm" step.
At the "confirm" step create an uncommitted Avatax "SalesInvoice" to capture tax information.
Then after the order is complete commit the existing SalesInvoice.

Also:

- Provide a DB migration to create uncommitted SalesInvoice records for existing orders in the "confirm" state
- Proivde a rake task to backfill SalesInvoices for historical orders that have been sent to Avatax
- Remove now-unused "avalara" gem
- Remove obsolete "endpoint" config
hm, we could but i really didn't expect any errors so would love to stop and sanity check things if we do see an error.  we can't do a real dry-run of this on non-prod because the avatax account is different. the script should just pick up where it left off if we have to restart it.