Append Menu Item
$name
$type
Shall append a new Menu Item
name
The name (text) for the new item
type
The type for the new item
A constructed object of the given type