[dash] Sync 'spree' as platform type to Jirafe
Fixing tiny typo

Fixes #2377
Remove unnecessary routes from core
use respond_{to/with} in promo checkout controller

Fixes #2381
Makes promotion#products always return an array

In case where rules that doesn't respond to #products are associated
with the promotion this method could break with:

  undefined method `flatten' for nil:NilClass

Fixes #2378
use on_hand method to get on_hand for variant while populating order so that :track_inventory_levels is taken into consideration. [Fixes #2379]

Fixes #2382
Version bump 1.3.1
Version bump 1.3.2.beta
Display raw HTML tags from product description on order details page

Fixes #2323
Ensure that variant image value exists before attempting to call mini_url on it

Fixes #2392
Update licenses for new year.

Fixes #2391

[ci skip]
Removes useless call to order#update!

The only reason I could see for those to be there is to make a test
pass. But the problem was on the test itself due to the way stubs work.
Also add some doc blocks to CreateAdjustment class.
Remove CSV references from core.rake

These tasks do not support CSV files
Allow overriding of phone validation

Fixes #2394
fixes saving permalinks when using joins and includes

Fixes #2385
Fix properties population when prototype selected and order them by position rather then alphabetically.

Fixes #2389
Improved update_shipment_state code

* added check for unassigned inventory for order shipment status
* rewrote the code to make less DB requests

Fixes #2246
Add 1.8.7 support back to Travis
Bump Rails to 3.2.11
[api] Convert 1.9 hash syntax to hashrocket syntax within inventory_units
controller

Fixes #2398

Fixes #2400