Add support of Pause/Resume for polling thread
This change adds the support of pause/resume of poll thread in the
NavigatorGamepad class. This way polling thread only runs whenever
gamepad data is accessed by the webpage. While in the case of gamepad
data release (Browser minimize and Tab switch) poll thread can be put
to paused state.