Fixed syntax of cloudsync post in run.sh file so that cloudsync runs on post Changed UI serial implementation to trim off any whitespace or invalid characters in serials received from HD and DG
Changed CloudSync controller to only send messages to CloudSync if device is registered