Credit card validation for iOS. Check for a valid credit card and type of credit card. Returns the length of the credit card and th estring format for the concerned credit card.