fixes scraffolding: menu=path

The generator is generating "menu" instead of "path".
I commit this fix here and not on the generator, because it seems to me that `menu` is much clear than `path`, but we need to keep the support for old versions.
Update menu.js
add icon support to menu
add icon support to menu
Merge pull request #27 from AlmogBaku/master

fixes `menu` type, add icon support