Check if config folder is writable

Some users have problems with folder permissions, it would be good to check if config folder is writable, and if not to show them a warning.