Updates for Spree 2.1.7 and Rails 4

Hey Caleb!

Not sure if this PR is useful at all, it's a fork of @Michael1969 which had some changes to have the gem work with Spree 2.0.3. I added some more changes for Spree 2.1.7 (~6 months old).

Merry Xmas :santa: 
Luke