Improve select2 capybara_ext helper to work with select2 boxes that can contain multiple values
Don't disable select2 in test env

This is because we can programmatically set select2 values now, and we should be doing that wherever we need them
Set select2 fields within shipping_methods_spec tests programmatically
Set select2 fields in configuration/states_spec programmatically
Programmatically select2 a field within admin/products/edit/variants_spec
[promo] Fix user picker

Fixes #2291
Ensure there is always a complete step returned in checkout_steps
escape javascript in ecommerce tracking code

Fixes #2289
Fix usage of t Handlebar helper within variants/_autocomplete
Refactor checkouts/edit.js customer picker code
Add fix for - old country id for new state (#2260)

Fixes #2281
Refactored how preferences are fetched from the preference store, as
current approach was resulting in db queries for each use of a
preference using its default value (which happens a lot with the new
currency preferences,etc). This approach mainly ensures that the default
values are written to the cache, after the database is checked once.

Conflicts:

	core/app/models/spree/preferences/preferable_class_methods.rb
	core/spec/models/preferences/preferable_spec.rb
checkout_steps will always include complete step
Update core/app/views/spree/shared/_google_analytics.html.erb

If an error occurs during the final page of the checkout  - order_path(@order), this leaves the flash[:commerce_tracking] set. So when the user goes back to the home page or any subsequent page, the pages will throw an nil exception on <%= @order.number %> because the framework sees that the flash[:commerce_tracking] hasn't been cleared.

The fix is to also check that @order is present.

Fixes #2287
Bump selenium-webdriver version
Try the current user's email when signing up in analytics
Must set commerce_tracking for analytics_helper completed order spec
Fix issue where name in customer_details_spec wasn't unique enough for the dropdown
Use set_select2_field to fill in select field in customer_details_spec
Correctly select a country from a select2 box in configuration/states_spec