Fix crash on streaming client exit, fix signaling of new events

Change-Id: I9bc7b83852a1b9490adfa796026d8f5f54455a10
Merge pull request #86 from tribal-tec/master

Fix crash on streaming client exit
Fix crash with invalid files in sessions and invalid xml

Change-Id: I59b5b31def73578ad2bda413c416d8eb9413fce0
Merge pull request #88 from tribal-tec/master

Fix crash with invalid files in sessions and invalid xml
Merge remote-tracking branch 'origin/master' into appmain

Change-Id: I9a0f0a2d09de19359664a3775dc9ab9e565fa180