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

This patch is still under WIP.
The cancel operation should be done in the wps module. Please check my comments to the wps module.