Fix and improve change events for WebSocket
- Fixed a NPE which could occur when changes to dynamic structures were
handled (
extensions
Map). The NPE was always thrown when a survey was started for the first time for a room. - Improved change detection to include new properties which did not
exist before (
extensions
Map) and avoid sending empty JSON objects like{"settings":{},"extensions":{"feedback":{}},"revision":"..."}
.