Fix autolink in sites with external iframes
update permissions for new features
Define the API for settings
Implement the new setting API
compatible with old settings
Refact and fix bugs in settings.coffee