Filtered received messages, accepting only group ones.
Merge pull request #2283 from ddobrev/xmppchat

Filtered received messages, accepting only group ones.
Changed lockForWrite() to lockForRead()
Merge branch 'master' of https://github.com/highfidelity/hifi into editVoxels