This adds support for `type[a.X]`, where the `type` special form is applied to a qualified name that resolves to a class literal. This works for both nested classes and classes imported from another module. Closes #14545
Markdown files within the mdtest/ subdirectory are tests of type inference and type checking;
executed by the tests/mdtest.rs integration test.
See crates/red_knot_test/README.md for documentation of this test format.