KT-3893 Fix

- Added checking for 'vararg'
- removed existing illegal modifiers in the sources
- moved unit tests to JetDiagnosticsTest