Add a way to handle Return events in windows

I added the on_return() method to Windows. This allows any Window to easily handle the Return event by overriding this method.
I also made Return confirm in the Singlelayer Menu, Multiplayer Menu and Editor Menu.
Fixes #2032.