Bug 964180 - Introduce AMD to settings app
1. Support new panel model
2. Separate common logic to SettingsCache, PanelUtils, PageTransitions
Merge pull request #17508 from crh0716/964180

Bug 964180 - Introduce AMD to settings app, r=evelyn, etienne