CRM-13344 - Update search builder and other code for pseudoconstant fields

----------------------------------------
* CRM-13344: Resolve test / schema issues around prefix_id, suffix_id, gender
  http://issues.civicrm.org/jira/browse/CRM-13344
Merge pull request #1717 from colemanw/master

CRM-13344 - Update search builder and other code for pseudoconstant fields