FIX: Make CreditCardField use template

Changed the `CreditCardField` to use a template to generate the HTML so that it's easier to customise.

I'm planning on making a few more PR's to improve the way the `$parts` and `getTabIndexHTML` get parsed to the template, as well as to implement disabled/readonly attributes. But I just wanted to get the initial change approved/merged first.