brings extension up-to date with spree 2.0. adds helper methods