Catch and log exceptions thrown in ContextMenuFactory createMenu methods
- prevents menu from not displaying when exceptions thrown. Refs #2644