Improve the UI definitions in the menu examples

* examples/book/menus/main_menu/examplewindow.cc: Change to "requires gtk+ 3.4".
* examples/book/menus_and_toolbars/examplewindow.cc: Add "requires gtk+ 3.4".