Expand dynamic supported objects to configs and tokenizers
# What does this PR do?

This PR expands support for dynamic objects (from just models to models, configurations and tokenizers). The API to enable this is still a bit hack-ish (see tests) but this will be put together with the new `register` API of the Auto classes in a followup PR, which should make everything all fit together.