MDL-38582 testing: Let any component have a data generator.

Plus a simple core_question generator to test the concept.