Properly quote config values

Values weren't being quoted before, which would lead to some of them
being mangled when being set.  This specifically was common with gitweb
settings, which usually have gerrit specific veriables in the value
which look like shell variables.