JoglApplication: Tell LifecycleListener to pause and dispose at window close and exit.

Fixes return to demo list using JoglTestStarter.

Signed-off-by: Xerxes Rånby <xerxes@zafena.se>