Moving custom product classes to the post_class filter

A DRYer approach.