CRM-14995 contributions disappearing on pledge edit

Conflicts:
	CRM/Pledge/Form/Pledge.php
CRM-14995 tidyups
fix inconsistent return value from fn
putting this in the queue when I remember as deep in something else but it fixed a fatal on off-site payment processor
CRM-14983 - Sunning Contribution via Search Builder Fails Putting Contacts in Smart Group

https://issues.civicrm.org/jira/browse/CRM-14983
--HR-404 Clicking organization sub-types opens CiviHR Dashboard
Merge pull request #3725 from PoonamNalawade/HR-404

--HR-404 Clicking organization sub-types opens CiviHR Dashboard
Empty check for datetime field
CRM-14875 fix - Related membership line_items missing from View Contribution page

https://issues.civicrm.org/jira/browse/CRM-14875
Webtest for CRM-14952

----------------------------------------
* CRM-14952: Sorting on state in search throws FATAL error: Database Error Code: Unknown column 'civicrm_state_province.name' in 'field list'
  https://issues.civicrm.org/jira/browse/CRM-14952
Merge pull request #3708 from atif-shaikh/CRM-14983

CRM-14983 - Sunning Contribution via Search Builder Fails Putting Contac...
Merge pull request #3728 from atif-shaikh/CRM-14952-webtest-fix

Webtest for CRM-14952
Merge pull request #3726 from jitendrapurohit/CRM-14983

Empty check for datetime field
CRM-15031 - Partial fixes for Event related webtests.

----------------------------------------
* CRM-15031:
  https://issues.civicrm.org/jira/browse/CRM-15031
Merge pull request #3731 from davecivicrm/CRM-15031

CRM-15031 - Partial fixes for Event related webtests.
CRM-15002: fix case activity view
CRM-15035 include/exclude - set tag defaults
CRM-15036 - force emailed social media image URLs to use HTTP.

----------------------------------------
* CRM-15036: Social media image URLs should always use HTTP in emails
  https://issues.civicrm.org/jira/browse/CRM-15036
Merge pull request #3732 from yashodha/CRM-15002

CRM-15002: fix case activity view
Merge pull request #3727 from monishdeb/CRM-14875

CRM-14875 fix - Related membership line_items missing from View Contribu...
CRM-15037 - Extend webtest to test for this bug.

----------------------------------------
* CRM-15037:
  https://issues.civicrm.org/jira/browse/CRM-15037