add resume/pause handler to Scene class

I think that a developer can get the pause and resume event of a scene is better.
For example, if a developer create some threads, when the scene go to the back, a developer want to stop all threads. I think.

Would you give me some comments?