HR-287 - CRM_Core_BAO_Setting - Guard against duplicate settings folders

Not sure this is needed, but there's been some example code floating around
in which extensions use buggy self-defenses to avoid duplicates.
Merge pull request #2554 from totten/4.4-settings-hook-dedupe

HR-287 - CRM_Core_BAO_Setting - Guard against duplicate settings folders