Update menu_items.rb

Added a couple of lines to remove menu entries that have child entries.
E.g. If 
File > New from...
File > New from... > Template
File > New from... > Resource
exists, you can remove the first option, as there are only two actionable menu items.
Merge pull request #2 from BenziAhamed/patch-1

Update menu_items.rb