Specify type attribute on <menuitem>

To more clearly distinguish between Type facet entries for elements
that define a command, and three types of <menuitem>, identify
<menuitem> entries by @type rather than just reference to the state.