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.
Please create a template file prefixed with `_` like the other templates and use `loadBodyHTML` to load it inside the test.