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.
Hint : Alive did implement `simslot_manager.js` and it does provide a lot of handy methods that you can easily get the count of simcards, iterate them ... blah. If we use it, code would be more readable here.

Just a hint and can be ignored :)