Folder preference model
Add optional readonlysecret to folder schema
Changed signature of set_folder_preference and set_settings
Tests for set_settings
Tests for set_folder_preference