add spree 2.2 fragment caching

quickly copied from latest master templates