Fix use of threading.Event for Python 2.6 and clear connected state.

threading.Event's wait method returns None on python pre 2.7, which means all
searches would fail. This also corrects that fact that we weren't clearing the
connected threading event on disconnects. I did not add any tests for this at
this time as I just want to get the fix out.
Release v0.11.1
Merge branch 'master' into develop

Conflicts:
	docs/changes.rst