Enable defining compilation/test commands in file-/dir-local vars.

They should be safe as long as they're strings.
Merge pull request #371 from immerrr/mark-cmds-safe-if-strings

Enable defining compilation/test commands in dir-local vars