allow to set configs when plugin is registered

When pagination is used on several sites, it might be useful to set configs when the plugin is registered. All config settings can be overridden locally.