core: send mouse code only one time to terminal with command /mouse enable|disable|toggle
core: add signals "mouse_enabled" and "mouse_disabled" (closes #244)