Support disabling Syntax offences with warning severity

This fixes #493.

Currently I'm revisiting #207, but first I'd like to get #493 done.

This allows to disable only `warning` Syntax offences. `fatal`/`error` offences (i.e. invalid syntax) cannot be disabled since suppressing them does not make sense.