Appease the pep8 and pylint gods

Remove unused imports, add spaces, other stuff.
Make executables executable

Two files in this project are intended to be run directly. Make it so.
chatwrapper: Do not simply cross your fingers when sending messages

* Sleep 5 seconds between messages
* When told to wait x seconds, wait 1.5 times as much
  (and then still 5 seconds on success)
* Avoid sending the same message more than once.
Add an async version of the SE chat wrapper.

This version does not block on send. This gives future room for
expansion and monitoring (e.g. shoot an email if the message queue
gets too long.)

As a result of this change, the non-async wrapper interface also
changes and clients must call .logout() on exit. This call allows the
sending thread to exit cleanly while still blocking on an empty queue.
Async wrapper: add logging

Threads aren't fun without logging. Log all the things!
Wrapper: actually do register having logged out.
Async wrapper: you need to import handlers separately.

TIL.
Set logger level properly
postSomething: return decoded JSON if possible

I'm not sure how it worked before, but now the json conversion is
explicit. Unfortunately error messages are not served over JSON.
Async wrapper: more logging fixes.
Async wrapper: refactor waitings

Now the backoff is handled more consistently without as many
hardcoded constants.

Findings:

* If you don't wait between messages, you get rapidly increasing
  backoff every 2nd message; how rapid depends on your backoff
  multiplier.
* If you wait 5 seconds between messages, you get reasonable backoff
  (still every 2nd message)
* If you wait 7 seconds between messages, you get no backoff at all
  and you can post as much as you want.
Merge badp!!