- Add a minimalist C API for mlir::Dialect.
- Allow one to query the context about registered and loaded dialects.
- Add API for loading dialects.
- Provide functions to register the Standard dialect.
When used naively, this will require to separately register each dialect. When
we have more than one exposed, we can add variadic macros that expand to
individual calls.
Dialects don't need to be registered for pass dependency or to be loaded explicitly.
The *only* purpose of the registry is the MLIR textual parser at this point.