Complete implementation, including database upgrade.
Merge pull request #919 from deepak-srivastava/hr

CRM-12622
Restore accountOptionValues pseudoConstant CRM-12464

----------------------------------------
* CRM-12464: Add PseudoConstants to Schema Metadata
  http://issues.civicrm.org/jira/browse/CRM-12464
Merge pull request #924 from colemanw/accountOptionValues

Restore accountOptionValues pseudoConstant CRM-12464
Return a CiviCRM-looking error if we hit a cURL error.

Handle cURL errors by synthesising a CiviCRM error object.

This is API so we can't depend on having CRM_Core_Error::createError() available.
Fix OptionGroup::values cache CRM-12464

----------------------------------------
* CRM-12464: Add PseudoConstants to Schema Metadata
  http://issues.civicrm.org/jira/browse/CRM-12464
Fix tests and api options validation CRM-12464

----------------------------------------
* CRM-12464: Add PseudoConstants to Schema Metadata
  http://issues.civicrm.org/jira/browse/CRM-12464
Merge pull request #888 from cividesk/CRM-12716

CRM-12716 - Limit the number of chars that can be entered in Notes custom fields
uf_group pseudoConstant fix CRM-12464

----------------------------------------
* CRM-12464: Add PseudoConstants to Schema Metadata
  http://issues.civicrm.org/jira/browse/CRM-12464
CRM-12743 - goodbye eval

----------------------------------------
* CRM-12743: Eliminate use of eval in core code
  http://issues.civicrm.org/jira/browse/CRM-12743
Merge pull request #933 from dlobo/CRM-12743

CRM-12743 - goodbye eval
One last eval CRM-12743

----------------------------------------
* CRM-12743: Eliminate use of eval in core code
  http://issues.civicrm.org/jira/browse/CRM-12743

----------------------------------------
* CRM-12743:
  http://issues.civicrm.org/jira/browse/CRM-12743
* CRM-12743::
  http://issues.civicrm.org/jira/browse/CRM-12743:
Merge pull request #935 from colemanw/CRM-12743

One last eval CRM-12743
Merge pull request #925 from GiantRobot/CRM-12737

CRM-12737 - Return a CiviCRM-looking error if we hit a cURL error.
api_v3_ACLPermissionTest - Fix PHP fatalwith undefined object
CRM_Contact_BAO_Query - Fix batch of regressions in api_v3_ContactTest
CRM_Core_DAO - Throw clearer error message about pseudoconstants
api_v3_ConstantTest - Clearer errors
Merge pull request #938 from totten/master-restore-api_v3

api_v3_AllTests - Misc
preliminary whitespace cleanup