Set up backwards-compatible passing of pygcurseinput object to the
pygcursewindow.input callbackfn
Added backwards-compatible change to the way PygcurseSurface's input()
callbackfn is called, handing it the inputobj.

Also made the event handler take all events, not just the ones we're
interested in - otherwise, the buffer fills and the program hangs.