Added valueattr to core-submenu

`valueattr` will pass on to `core-menu` just like other attributes.