Make sure that plugins are always loaded before their configuration

This "solves" the issue of wrong order of loading the modules and their configuration, leading to the following error:

    There is a `Database' block within the configuration for the mysql plugin. The plugin either only expects
    "simple" configuration statements or wasn't loaded using `LoadPlugin'. Please check your configuration.