Update ghost.py

It seems that QNetworkCookieJar has not attribute named "cookies" but protected method "allCookies()" :p
Update ghost.py
Merge pull request #137 from marcolin/patch-1

Update ghost.py
fix crash on 401 if _auth is None
ensure we process events at least once during sleep
Merge pull request #145 from preo/401_fix

fix crash on 401 if _auth is None
Merge pull request #146 from preo/sleep_fix

ensure sleep and process_events are called at least once during a ghost sleep call
Bugfix for missing dependencies

Avoids the following stack trace if neither PySide nor PyQT are available:
> NameError: name 'binding' is not defined
Merge pull request #152 from mre/patch-1

Bugfix for missing dependencies