CRM-20286, added card type form fields
----------------------------------------
* CRM-20286: Add card type field on search form
https://issues.civicrm.org/jira/browse/CRM-20286
CRM-20286, code cleanup and defined $_wheretables and $_tables correctly for batch and is_payment fields
----------------------------------------
* CRM-20286: Add card type field on search form
https://issues.civicrm.org/jira/browse/CRM-20286
CRM-20286, added where clause for card type
----------------------------------------
* CRM-20286: Add card type field on search form
https://issues.civicrm.org/jira/browse/CRM-20286
CRM-20286, added unit test
----------------------------------------
* CRM-20286: Add card type field on search form
https://issues.civicrm.org/jira/browse/CRM-20286
Use metadata based method to add field to form
CRM-20286 Minor changes
----------------------------------------
* CRM-20286: Add card type field on search form
https://issues.civicrm.org/jira/browse/CRM-20286