Updates for compatibility with Rails 4 and Spree 2.1

These changes got it working for me with the default base theme.  I couldn't get the caching working, though.