Bump database_cleaner to 0.9.1
Fix StockLocation spec
Revert "Bump database_cleaner to 0.9.1"

Due to randomly failures with SQLite3's locked DB, I have to revert
this commit until database_cleaner sort this out

This reverts commit a726fa2c437e2408d095f6b2b339a61aba3a1ed3.
Fix active merchant for some currencies.

Currencies without 2 decimal places would not be correctly represented
to active merchant, as they would always be multiplied by 100.

As an example, something costing 200 yen would pass 20000 yen to active
merchant.

This now uses the cents from the money object which handles this logic
much better.

Fixes #2930
Fix exception when product brand is nil

Fixes #2927
Update shipping rate cost column to default to 0.

Fixes #2931
Remove src ||= source from Adjustment#update

This caused the following build failure on spree_auth_devise:
https://gist.github.com/radar/5449670

After removing it, I ran the tests and they all pass:
http://ci.spreecommerce.com/viewLog.html?buildId=6245&buildTypeId=bt5&tab=buildLog#_focus=140

I don't know why this line was ever necessary in the first place. It was added
in a8898232f40116cd72065d265ad997157e278579.
Rely on spree_user mappings from Devise, not user

For reasons, see commit 4a27c35fd29cf4fcafc1cf6b2401d937361610b9 in spree_auth_devise
Sleep during order details test to prevent database still being locked when database_cleaner does its thing
Wait for API request in stock_locations_spec to complete
Link Country Based and State Based labels to radio control

Fixes #2928
Remove unused emails_sent_from preference

Please now use mails_from
Allow users to not override default mailer configs

Fix from_address logic in mailers, it broke when there were noe
mail_method record on the database

Fixes #2929
adding spec and fixing user_logged_in promo rule

Fixes #2884
Wait for API request to complete in stock management spec
Fix remove_fields link from stepping on cocoon

Because the cocoon gem defines a similar callback on 'document', this callback will effectively override it.  
Modified selector scope to ignore cocoon links as a primitive workaround.

Fixes #2853
Remove duplicate dependency for kaminari

Fixes #2944
Add short explanation to tax rate amounts to ease confusion
[frontend] Add another stub of spree_api_key in products_controller_spec to fix failing build

This build was broken: http://ci.spreecommerce.com/viewLog.html?buildId=6428&buildTypeId=bt7&tab=buildLog
Greatly reduce number of drawn routes on Spree::Core::Engine

By prepending routes as we were doing before, Rails was not checking to see if the routes already existed and therefore drew over 1,000 routes for Spree and its things. This, of course, would take time and RAM.

By calling draw, Rails checks and therefore doesn't draw the routes if they're already there.

Thanks to @parndt for pointing this out.