Enabled sound (fixes #296 #281) and improved disconnection detection.

Fixes #296 #281. Tested on Ubuntu 14.04 x64, xubuntu 14.04 i386. Tested only with freerdp compiled with -DWITH_PULSE=ON