Excercise more mqtt code and fix memory leak in unit test
Merge pull request #126 from cesanta/mqtt_coverage

Excercise more mqtt code and fix memory leak in unit test