Add quotes around values in the generated discourse.conf file

Previously, if a config value contained a # character, the hash and all the
following values would be treated as a comment. Wrapping all the values with
quotes will allow for hashes, which could be useful in the case of an SMTP
password, for example.