Some of the settings in .dir-locals.el were modifying variables or properties that are not buffer-local. This commit attempts to fix that while preserving the same functionality as much as possible. Should fix #618.
It is actually a string because "add-dir-local-variable" and related functions will blow away comments in the file.