CRM-11861 patch plus a variety of notice fixes in relatedContact form and 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
Merge pull request #1061 from davecivicrm/CRM-11861

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