gtk3: make one sample script gtk3 ready

gtk3/sample/misc/bindings.rb
* Fix deprecated constants.
* Fix deprecated class names.
* Fix deprecated method calls.
* Remove a deprecated method call.
* Move where some key events are bound to signals.
* Modify the size of the program window.