Imporve handling of SQLITE_READONLY

closes #3659
- added alternate context/help for SQLITE_READONY error to
errors.logError()
Merge pull request #3690 from sebgie/issue#3659

Improve handling of SQLITE_READONLY