added possibility to make the site readonly
Merge branch 'dev_readonly'