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.
after some grep I found our panels does not have to check if window.navigator.mozSettings API exist (it was checked in loader), so I'll remove these check and keep the syntax.