Fix creating new menus

We were still creating the .directory file, but some
refactoring dropped the code that inserted the menu
into the menu tree. Bring it back.

https://bugzilla.gnome.org/show_bug.cgi?id=725287