Bug 994511 - [Settings] move Settings.getSettings out of Settings.js