Add menu item to toggle flash state

The menu item behaves exactly like the button and is based on a forked version
of the menuitem module by Erik Vold.
The new wrapper MultiStateMenuItem is very similar to MultiStateButton and has
an identical API. Currently, the menu item position is hardcoded to the tools menu.