Bug 1065279 - [settings] refactor Hotspot panel with AMD pattern

`onBeforeShow` is called every time when users navigate to the panel. `hotspot.init` seems only need to be called once, so consider to move it to `onInit`.