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.
Why not move this part to the top of this file ? By doing so, we can easily understand the dependencies of this module at the first glimpse.