mod_menu: fix for passing the item_template option to the server when adding items.

(cherry picked from commit e4c415899d5b917089048b6993806fbec865c5fd)