Turn on evil-local-mode in yaml-mode.

I just found that yaml-mode is derived from fundamental-mode, not text-mode.