move some code to core
Merge branch 'master' of github.com:shoponrails/spreefinery_core