Bug 973466 - [settings] refactor wifi panel with AMD pattern

This patch is still under WIP.
While I would like change this to a class name, but let's land with this at first. : p