Bug 1005751 - (Part IV) Move settings handling to settings.js +shepherd