Spree 2.3 update

I did some fast fix for make the gem work with spree 2.3, it should work also with 2.2 but I don't have test it.