CRM-11861 patch plus a variety of notice fixes in relatedContact form an...

...d postProcess. Added new setting - secondDegRelPermission to SettingsGetfields.php and fixed several syntax errors in that file due to unescaped single quotes.

----------------------------------------
* CRM-11861: Allow option for second-degree relation permissions
  http://issues.civicrm.org/jira/browse/CRM-11861