uncomment the pause() and resume() method call in test-js
fixed #3801. uncomment pasue&resume logic when applicationDidBecomeActive and applicationWillResignActive
Merge pull request #5456 from andyque/fixbug3801

closed #3801: State is changed to RESUME when game comes back to foreground if pause button was clicked in Interval Test