MDL-39854 fix invalid get_plugin_types() params in backup code
MDL-39854 reimplement Frankenstyle support

Better performance, more reliable, completely self contained,
more validation and full backwards compatibility.

This will also allow us to implement ignoring of plugins.
MDL-39854 add support for class autoloading