MDL-47919 tool_monitor: only use set_label() on valid object
MDL-47758 tool_monitor: prevent DB error when revisiting a delete URL
MDL-47758 tool_monitor: altered behat tests so they pass
MDL-47361 tooL_monitor: string and UI changes
MDL-47361 tool_monitor: altered the behat tests so they pass