Scripting: Add Game.IsPaused() to the scripting environment.

This is also handled properly by the editor for doing in-editor playback.