Use slug instead of id for product_class in URL

This gives more readable URLs.
Merge pull request #1123 from mbertheau/product-class-use-slug-in-URL

Use slug instead of id for product_class in URL