Payment factory should create payments in the default state of 'checkout', rather than 'pending'
Fix state in payments_controller_spec to reference correct state
We already know the order isn't completed, no need to check again.

Fixes #2699
Adding failing test for #2694

Fixes #2701
fixes Handlebars error if elements referenced are not available

Fixes #2698
Remove promo adjustments from complete orders only

Fixes #2680
Check for default_country_id before attempting to use it in _configuration_menu
Update controller check to have spree namespace.

Fixes #2686
Fix issue where calling first_or_create on Taxonomy#children would not correctly find the parent node

Fixes #2703
Correct payment state check in order/payment_spec
Correct payment status check in admin/orders/payments_spec
Remove test testing for invalid behaviour in checkout controller spec
spec: add FAIL_FAST env variable to enable fail fast
Mark suspicious failing test in orders/listing_spec as pending for the time being
[api] Add ssl_allowed to base_controller

Fixes #2665
Fixes #2696
Simplify tabs for incomplete order.

The tabs which did something different for an incomplete order vs. a
complete order led to a lot of confusion.

The javascript form submit would also cause some confusion in
functionality.  If for example, I was on "Order Details" and clicked on
the "Payments" link, the "Order Details" form would be submitted, and I
would be taken to the "Customer Details" page, when I actually wanted
to go to the "Payments" page.

Fixes #2704
Namespaced JS-functions to easily customize them

Fixes #2691
Refactored frontend JS CamelCased

Fixes #2691