Added support for WebOb, used by Pyramid (and other frameworks).

And tidied an import.