Validate Payment Gateways

Validate a class that registested via woocommerce_payment_gateways
filter. We must validate it before using it.