After updating customer details, ensure state is transitioned as far to 'complete' as is possible

Fixes #2950
Fixes #2433
Update code climate badge to correct urls.

Fixes #2957
Rename order_total in order_details to order_display_total to stop clash with total in orders/form

Fixes #2976
This fix adds little circle near .state items, so they will not look like buttons.

Fixes #2970
Add pagination before products/orders index table

Fixes #2967
Add pagination above the table for zones in admin

Fixes #2967
Revert credit card stripping from #1881

For reasons why, please see the thread on #2495.
G Analytics apparently not using protocol specific subdomain now.

Fixes #2977
Adding methods for inserting and removing checkout steps for an order

Fixes #2969
Correct state lookup in customer_details_spec
Use DISTINCT ON to make in_taxon scope return truly distinct products in PostgreSQL

Fixes #2851

Conflicts:
	core/app/models/spree/product/scopes.rb
fixes order hook logic to run hooks when finalizing order

Fixes #2986
Fix admin order form update after removing item

We need to reload the order explicitly otherwise the same order object
would be passed to the form partial without updated totals. fixes #2972

Fixes #2975
add the template file for generating the .rspec file. this was causing
"Could not find "rspec" in any of your source paths. Your current source
paths are: " [Fixes #3031]
don't call Variant#on_hand= in factory unless track_inventory_levels] is
true [Fixes #2960]
Force select2-rails to 3.2.1 [Fixes #3039]

select2-rails 3.2.2 breaks all capybara helpers in Spree that depends on
the label tag for attribute. e.g.

    <%= label_tag :add_variant_id, Spree.t(:name_or_sku) %>

    Instead of:

    <label for="s2id_add_variant_id">some text</label>

    will generate:

    <label for="s2id_autogen1">some text</label>

see https://github.com/ivaynberg/select2/commit/519070b11da9347cf1542d26fc59a83b0c3fd934

wtf select2 ..

Fix request specs
promo orders controller decorator overriding blank order check from core
Merge remote-tracking branch 'github/1-3-stable' into 1-3-stable