Work on read-only mode.
Add custom message when site in read-only mode.
Fix comments.
Add site/register path to be disabled in readonly mode.
Work on read-only mode.
Work on ui for readonly mode.
Work on readonly mode.
Fix comments.
Fix comments
Merge pull request #4576 from openscholar/4354-1

Add custom message when site in read-only mode