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.
we can just put `this._elements = null` because in this place, this line is just to make sure we know there is a property called `_elements`