CRM-13227, CRM-14744: full fix
CRM-15376 - Porting fixes from https://github.com/civicrm/civicrm-core/pull/4233 to 4.5 branch.

----------------------------------------
* CRM-15376:
  https://issues.civicrm.org/jira/browse/CRM-15376
CRM-15452 - ensure dupes not added when no event fee is used.

----------------------------------------
* CRM-15452: When no registration fee is involved, duplicate registration still created for event
  https://issues.civicrm.org/jira/browse/CRM-15452
CRM-15455 - avoid creating dupes and using deleted contacts in test
mailings.

----------------------------------------
* CRM-15455: email tests do not properly replace tokens
  https://issues.civicrm.org/jira/browse/CRM-15455
CRM-15439 fix - Regression of CRM-13149 - searching on reciprocal relationships

https://issues.civicrm.org/jira/browse/CRM-15439
CRM-15447
CRM-15301 - Sorted order is not respected in 'Export Contacts' csv

https://issues.civicrm.org/jira/browse/CRM-15301
Merge pull request #4377 from monishdeb/CRM-15439

CRM-15439 fix - Regression of CRM-15121 - searching on reciprocal relationships
Remove redundant css class
Merge pull request #4381 from colemanw/strikethrough

Remove redundant css class
Fix for CRM-15458
CRM-14968
Additional Fixes
Merge pull request #4378 from jitendrapurohit/CRM-15447

Related test build failure is not related to current PR changes, also tested(follow issue link), hence merging
Merge pull request #4380 from atif-shaikh/CRM-15301

CRM-15301 - Sorted order is not respected in 'Export Contacts' csv
Merge pull request #4382 from rohankatkar/CRM-15458

Fix for CRM-15458
CRM-15328 fix - Api ContactType Create Fails for Update

https://issues.civicrm.org/jira/browse/CRM-15328
Merge pull request #4383 from monishdeb/CRM-15328

CRM-15328 fix - Api ContactType Create Fails for Update
Merge pull request #4329 from davecivicrm/CRM-15376

CRM-15376 - Porting fixes from https://github.com/civicrm/civicrm-core/p...
Merge pull request #4379 from jitendrapurohit/CRM-14968

CRM-14968