Added core support for plugin settings

Added mechanism for checking settings and adding not existing settings  to database
Relates #21