CRM-12515: improve how credit card types/numbers are handled

Does not work on the backend however, or when the payment block is loaded using ajax. Need to fix the crmFormLoad event listener.