Update Participant.php

Removed 3 instances of assignment in if operators. This is ambiguous and against the Civi coding standards.
Refactored ParticipantListing.php

1) Commuted assigns in if statements into assigning, then checking, as otherwise fails code validators and breaches CiviCRM coding conventions.

2) Refactored repeated code found while repairing those errors into a separate reusable function that accepts parameters. I only did this where the code was identical. Where there was any distinction I didn't do this to prevent introducing bugs.

https://issues.civicrm.org/jira/browse/CRM-14434
CRM-14946 add relevant test data set
CRM-12370 - add extension modules immediately after civicrm drupal module.

----------------------------------------
* CRM-12370: CRM_Utils_Hook::requireCiviModules() assigns infinite weight to extensions
  https://issues.civicrm.org/jira/browse/CRM-12370
CRM-14912 support import matching with external ID
CRM-15041 fix - View Event Registration / Change Selections : Total Paid and Balance are incorrect after a contribution is recorded for Pay-later registrations

https://issues.civicrm.org/jira/browse/CRM-15041
CRM test Fix 4.5beta5
Merge pull request #3782 from jitendrapurohit/CRM-Test-4.5beta5

CRM test Fix 4.5beta5 For ActivityTest
API Test Fix
Merge pull request #3765 from lcdservices/CRM-14912

CRM-14912 support import matching with external ID
Send email js fixes and cleanup
Email code cleanup
CRM-15075 fatal on membership renew with long text (plus this line seems just BAD)
Billing Name saved as Participant Name Fix
Merge pull request #3786 from jitendrapurohit/CRM-15063BillingFix

Billing Name saved as Participant Name Fix
Change contact summary email links from 'mailto' to email activity popup
Merge pull request #3787 from colemanw/email

Change contact summary email links from 'mailto' to email activity popup
Removed accidental adding of sample data to upgrade
Merge pull request #3788 from jitendrapurohit/Upgrade_fixes

Removed accidental adding of sample data to upgrade
Fixed hardcoded contribution_id