Fixes #4447

refactor the order import from being a class_eval on Spree::Order from api to a dedicated importer in spree_core to be reused by other parts. update the year in the licence files, added licence file to spree_core as well since this was missing.

remove the hub part from the build.sh

move this decorator to the correct place again

add the api refactor to changelogs

remove the order_decorator from api and added the method in core order model
Display user addresses form in a separate page
Add shipments association to stock locations.
Add Shipment#display_final_price.
Show SOLD OUT if a variant is out of stock

Fixes #4480
Use Spree.t(:out_of_stock) in frontend products/show
[api] Redirect to Orders#show from Checkouts#show

Rather than having two actions that do the same thing, let's just combine all the logic into one.

API users: please use /orders/:num from this point onwards.

Conflicts:
	api/app/controllers/spree/api/base_controller.rb
Display credit card #name [api]
Add an initial store model

The attributes are all the ones that will be supported for the initial
preferences-onto-store refactoring

Related to #4415
Create a store on new/store migration

Grabbed the defaults from the existing preferences.

Related to #4415
Switch config editor to modify Spree::Store

Related to #4415
Switch examples off of site_name

With site_name now on store, we need to track something so it may as
well be track_inventory_level as an example

Related to #4415
Switch app config test to move off of site_name

Related to #4415
Switch Spree::Config to use new store attributes

Related to #4415
don't override existing configuration methods

Related to #4415
meta_keywords delegated to description
Updating for new preferences api

Broken by @jhawthorn's a36381edb9014a97c7d337cb1d85989672388428

Related to #4415
add searching and paging for admin promotions area

Fixes #4478
Enable images to be created in the API within the scope of a product/variant
included_in_price tax rates should be applied using the same rules as their 'additional' brethren