[MOSYNC-2770] Wormhole: Escaping device info strings, updated getInfo for device info in C++ and JS to not use a string (removed a JSON.parse step), fixed bugs in Encoder::JSONStringify(), added a debug logging call: mosync.app.log()