Bug 973451 - [settings] refactor Media storage panel with AMD pattern