Twitter support for images

Publish notes with images using the Twitter media API.

Patched up a couple tests that got broken.

No unit tests yet, since it depends on adding mock requests to webutil, which in turn depends on importing the requests module. Not sure how to proceed with that.
minor nit: mind wrapping these two lines a bit?