Validate message before trying to demunge (#1427)
Validate message before trying to demunge (#1427)

The data field of the message sent to the event handler may not always be a dictionary, (Example case Timer skill, which sets data to the timer name)

This validates the message type and the type of the data field before trying to unmunge.
MycroftAI/mycroft-core,MycroftAI/mycroft-core,linuxipho/mycroft-core,linuxipho/mycroft-core,forslund/mycroft-core,Dark5ide/mycroft-core,forslund/mycroft-core,Dark5ide/mycroft-core