Webclient: refactor menus, pt.1 (#532).

The DM GUI Toolkit's menus rely on the jQuery UI Menu widget now.

See #532.