Automatically log error response when using res.error()

Also using MyKoopError statusCode if available to determine status code.
related to https://github.com/my-koop/module.utils/pull/14