[emacs] Added custom function to display ANSI colors in log files.

* First I added a custom function (display-ansi-colors).
* Then I appended to auto-mode-alist so that all .log files will have
  this kind of behavior.