Option to upload debug log on menu build failure

Requires user to have script.xmc.debug.log installed for option to be
available, otherwise standard error dialog will show.