fix N+1 query performance issues on TaxRate.match method

Conflicts:
	core/app/models/spree/tax_rate.rb
[Sample] Fix ENV['LIB_NAME
']
Refactor Shipments API & JS.

Conflicts:
	backend/app/assets/javascripts/spree/backend/shipments.js.erb
Remove deprecated orders/shipments api.