Merge pull request #207 from pamod/mqtt_dev

MQTT clean session implementation, Code refactoring
MQTT publisher client state handling, reflecting the channel id bound with the client instead of randomly generating it