Add slug history to product. Fixes #5014

Accepted into master here: https://github.com/spree/spree/pull/5014

Will create a new one for 2-3 if accepted