when enabling a plugin, write the plugin version to the config file. this prevents the setup function from being called again in bootstrap.php. fixes #156