getCardType A script to detect a credit card type NEEDS MORE TESTING PROBABLY SOME PATTERNS MUST BE DEFINED EARLIER THAN OTHERS