Allow registration of configuration extension types.

This allows a yaml config parser to be registered in the same way as database/sql does.