macrobutton: Show exception dialog on macro exception
Currently, if a macro run using macrobutton raises an exception, the button frame turns orange (as the Door state changed to ALARM) without any more information. With this changes, it will also show a dialog with the error message and the traceback from the Error raised by the macro.
This MR also fixes two deprecation warnings that appeared when using the macrobuttons.