rose edit: fix error menu.

This fixes errors in variable widget menu construction when
there is an error for that variable created by a custom macro.

The problem was caused by a '/' in the custom macro name, which
interfered with the err_item lookup.
Merge pull request #817 from benfitzpatrick/rose-edit.fix-error-menu

rose edit: fix error menu.