Add nil object check for StockLocation#fill_status [Fixes #3131]
Fix product property delete url.

Fixes #3120 #3123
Remove leftovers allow_backorders references

Backorders can be configured now as per stock location or stock item

[Fixes #3049]
Fix remove taxon js code

[Fixes #3136][Fixes #3140]
Change InventoryUnit#backorderable_for_stock_item implementation

Users were getting ActiveRecord::ReadOnlyRecord when updating a stock
item with backordered units. Due to ActiveRecored `joins` return
readonly objects

[Fixes #3066]
Refactor stock item process_backorders

Consider a backorderable stock item with 5 on hand
Customer goes to the store and purchase 10.

At this point stock item on hand is -5 (it has 5 backordered inventory
units)

Admin goes to stock management and adds +30 of that stock item

Before:

  * `save!` stock item with count_on_hand = self.count_on_hand + 30
  * On after_save loops through backordered units and calls
    adjusts the count_on_hand, by -1, and calls `save!`
  * Gets ActiveRecord::StaleObjectError

After:

  * Update count_on_hand attribute value (does not `save` yet)
  * Process backorders while there are items in stock (if any)
  * `save!`

Fixes #3066
Remove wrong assumptions from inventory unit spec

That caused specs to fail on postgresql
Scope shipping rates as per display_on

As shipping method rates set to appear only in backend should not be
displayed in frontend as well

[Fixes #3119]
Stock::Estimator should select the most affordable shipping rate by default

Fixes #3137
Stock::Estimator sorts shipping rates by cost

Related to #3137
Use shipping_method.adjustment_label in Shipment#ensure_correct_adjustment

Fixes #3138
Use 2-0-stable branch for spree_gateway when using 'spree install'

Fixes #3144
use shipping_method.adjustment_label within shipment_specs
Fix users rule promo association

Also add an association_foreign_key config because it assumed that every
Spree.user_class would return User which might not be always the case.

[Fixes #3145] [Fixes #3149]
create stock_item if needed during stock_transfers

Conflicts:
	core/app/models/spree/stock_location.rb
Bump to 2.0.1