[Rogue] Added CTRL+C interrupt handler which calls on_exit() functions before exiting
[Rogue] Added CTRL+C interrupt handler which calls on_exit() functions before exiting

- on_exit() functions were already called on normal program termination.
- Now on_exit() functions are also called when CTRL+C is caught.
- To create an on-exit function, call Global.on_exit( Function() ) as follows:

on_exit( () => "This prints out" )
on_exit( () => "This also prints out" )

Plasmaworks/Rogue,Plasmaworks/Rogue,Plasmaworks/Rogue,AbePralle/Rogue,AbePralle/Rogue,Plasmaworks/Rogue