Allow nodes to catch revert action
Add Lua functions: isPaused(), isInGameMenu(), isInEditor()
Make script="x" setting in songs.xml accept other values than boolean.

The value 2 is now used to indicate that both script and internal handler
should be called.