Explicitly set the content-type of backpack connect errors to text/plain

This also required changing `conmock.js`'s `type()` implementation, since express allows it to be chained, while our mock doesn't.