Setting Content-Type for exceptions to text/plain for now.

In the future we need a proper handling of exceptions to transform
them into consumable error messages according to the accepted
content-type.