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...
worked on CRM-12964, added new table for labels
worked on CRM-12964, added metadata, navigation menu and generate/sample data
Merge pull request #1062 from kurund/CRM-12964

CRM-12964, add schema, meta data, sample data for label layouts
Fix entity_table comment
Merge pull request #1063 from JoeMurray/patch-2

Fix entity_table comment