Make slug elements ucfirst for class name

For example, instead of `WC_Product_Variable_subscription` create the
class name `WC_Product_Variable_Subscription`.