Set menu-iconic and menuitem-iconic classes when necessary.
Merge pull request #729 from Mossop/bug831643

Bug 831643: context-menu image missing when using SDK > 1.12