Add a message tools menu

The CSS that was used for the workflow state menu is reused
as a new "dropdown-menu" class and the workflow state
code is updated accordingly.

Bug: 46791
Bug: 46793
Change-Id: I605147a0fabdfdad4e497ecc762c750f7ccdfeec
Merge "Add a message tools menu"