Makes compatible with Spree 2.1 and Rails 4

This request will make this extension compatible with Spree 2.1 and Rails 4