Was added options to generate_order_numer.

Fixes #5126
Fix spec.
Change order updater to refresh shipment rates and amounts on change

* This change will refresh the shipment rates and amounts when a
* completed order state changes.

  One specific example would be if the order line item quantity is
  changed in the admin menus we want the order shipment and shipping
  total to update.

Fixes #5235
Fixes #5222
refs #4428
Use retry.
Add test for generate order options
Fixes #5251
Finally fixes last backend spec.