Add support for warningsAsErrors config-option.
Add support for warningsAsErrors config-option.

This partially resolves https://github.com/mozilla/addons-linter/issues/1014

mozilla/addons-linter,mozilla/addons-validator,muffinresearch/addons-linter,mozilla/addons-linter