Add spec for updating version.
add table name for order/line_item association
fixes #5531
refactor code to follow DRY in zone model
fixes #5532
Update generated robots.txt
fixes #5533
Try sleep instead of wait_for_ajax to fix frail spec.
Remove script execution the other specs dont need it.
Need to execute script.
Removes redundant closing li
fixes #5535
Make email field in admin orders#index link to the customer's account page
fixes #5539
Allow for shipment adjustments to be viewed from API

remove un-necessary intro of newline

fixes #5540
Fix optimistic lock to not revert incremented version.
Fix #5530: checkout form error messages not translated in production

Precompile jquery.validation error messages for all locales

Add regression test for #5530

fixes #5530
fixes #5534
Fix payments ordering when choose payment for risk analysis

Spree::Payment has ordering by created_at by default.
When displaying order risk analysis Spree tries to select last payment for order and uses ordering payments by "created_at DESC" and then select first record, but it does not work. So we need either to use reorder or to rely on default ordering.

fixes #5541
Change #current_order to always lock the order when querying

* I believe some of the problem with the deadlocks is happening because
  of inconsistent locking, and updating without acquiring a lock properly. As a
  test I am going to enable it across the board and see how things perform.

Conflicts:
	core/lib/spree/core/controller_helpers/order.rb
	frontend/app/controllers/spree/checkout_controller.rb
Add validations to stock items and stock movements
Change Spree::OrderUpdater#update to be performed inside a transaction
Fix spec formatting and spelling
Refactor CreateItemAdjustments#perform to not use an unscoped query

* The previous query for adjustments would return every adjustment for every
  order's line items. This would then result in a huge list of ids passed into
  the NOT IN clause, causing a huge generated SQL query to be executed.
* Refactor code to be simpler
Add adjustment total to the order summary
Change adjustments controller to only display eligible adjustments