Allow orders with custom statuses to be use the pay page

Adds a 'woocommerce_valid_order_statuses_for_payment' filter so plugins
that orders with custom statuses can be paid