Refactored the various Certificate generation methods
v0.0.0.33
Revised MQTT publishing
workingcopy from trunk