Encoding and decoding change

This allows comments to be stored in ArcGIS Online the same way that ArcGIS Online stores comments.  In addition, this will allow users to decode the comments "wholesale" with some exceptions posted from ArcGIS Online and the app without having malicious JavaScript inserted into the app for security.