Hid the chat window rather than close it in order to preserve sent
messages.
Merge pull request #2297 from ddobrev/xmppchat

Hid the chat window rather than close it in order to preserve sent messages.
Fixes for Linux build.
Merge pull request #2299 from ey6es/master

Fixes for Linux build: now that the resources are copied, use the resource directory next to the binary.  Because the resource compiler puts a file into resources, don't delete the resources before copying.
Merge branch 'master' of https://github.com/Geenz/hifi into 19514