CRM-15297 add extra d8 permission functions.
The ones not customised to D8 (per https://github.com/torrance/civicrm-drupal/commit/9e9e4e2e344f500cd083a2af4a68f4fe25ae4e5d#diff-e446ed2bd1f533a810378b76b9ec7312)
are add to the DrupalBase class
CRM-15297 add Drupal8 functions from GSOC to Drupal8 class
where the d8 function is unchanged from d7 put in the DrupalBase class instead
CRM-15297 - move default block to d8 class as default in base class is 'left'
(NB defaultBlockLocation may be drupal specific & not really belong in baseclass
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