Bug 973450 - [settings] refactor Device information panel with AMD patte...

separate hardwareInfo retrieval and check update function into separate modules, and make related tests works in AMD.
if `mozPower` is undefined or can't be used, we may have to hide the `resetDialog` to make sure users can still manipulate UI.