Improve standalone files error reporting

Currently, only syntax errors are reported for standalone java files, because the classpath is incomplete, all sort of type/import related errors would clutter the UI was red squiggles.

However, some other kind of errors could be reported, like unused variables, or using this in a static context. There's room for improvement there. So instead of only reporting Syntax errors, a better alternative would be to not report Type and Import related errors instead.