Support additional headers in the error renderer.

I.e. for setting a proper Content-Type response header.
Small tweaks.
Update upper bounds.
Release as version 0.11