Add Application errors for Mediawiki API to x-analytics
Sounds like application errors are reported to MediaWiki-API-Error header when an API request is in error. Adding this field to x-Analytics allows us to be able to quantify API errors using webrequest table.
Now, this doesn't include errors like 404s or 503 so only part of the errors from the API will be reported.