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.
Don't use internal function because this is hard to test with, maybe we can change this as a private method of `MoreInfo`