Added MQTT last will and testament feature

This feature enables the user to configure a last will and testament message for a broker connection. The message is published by the broker when the connection is dropped. Therefore clients can react in case of a connection failure.