CRM-14012 - Contribution total values incorrect for permissioned users in search summary panel

----------------------------------------
* CRM-14012: Contribution total values incorrect on Find Contributions page for permissioned users
  http://issues.civicrm.org/jira/browse/CRM-14012
Fix search builder participant options
CRM-13810 - Fix search builder member_campaign options
CRM-13889 - CRM_Core_BAO_Dashboard - Fix test failure. Report error better.

Note: It looks like there was a merge error because some of the relevant
code was badly duplicated.
CRM-13889 - Autoformat
Merge pull request #2354 from totten/4.4-dashboard-api

CRM-13889 - CRM_Core_BAO_Dashboard - Fix test failure.
Merge pull request #2352 from colemanw/4.4

Fix search builder participant/member options
Merge pull request #2350 from eileenmcnaughton/CRM-14012

CRM-14012 - Contribution total values incorrect for permissioned users i...
CRM-14028 - Workaround the number 0 == empty() php bug
Merge pull request #2356 from colemanw/4.4

CRM-14028 - Workaround the number 0 == empty() php bug