VariablesManager is now a menu observer
Gets notified about menu changes so it can track which variables
are referred to by which menus, so when a variable is modified,
the right menus can be redrawn.
User variables are now substituted in views
Titles, labels and item lore are all substituted
(in addition to commands, which were already sub'd)