fix product_decorator scope to work with spree 1.3
update migration to efficiently initialize pts for large number of products