Fix memory leaks and add garbage input handling

* Fix memory leaks (in QWsServer and Examples\ServerThreaded)
* add garbage input handling (in QWsServer)
Merge commit 'refs/merge-requests/8' of git://gitorious.org/qtwebsocket/qtwebsocket into merge-requests/8
merge request and update examples