Add mouse support to the IOHandlerCursesGUI and make it possible to select items in the top menu bar by clicking on them. This patch only makes the top level items clickable and does not (yet) make it possible to click on items in the submenu.
This patch is mostly me being curious about the IOHandlerCursesGUI and trying to understand how it works.
It might be nice for this to be a bit more generic and be GetWindowForPosition(...). If we are going to enable mouse support, it would be nice to pass the mouse clicks to the windows and let them handle the clicks. Something like:
The HandleMouseButton will return eKeyHandled if it handled the press. We might also allow other button presses to be passed along for right click and center clicks.
Then menu bars can handle the clicking. We might also want to pass