Bug 973443 - [settings] refactor Display panel with AMD pattern

https://bugzilla.mozilla.org/show_bug.cgi?id=973443
Please separate this to another test to avoid potential interference.