Fix for error that do not declaring face settings.
Refactoring.

- Move, reoder a functions.
- Split the test case to 'log-analyzer' and 'log-analyzer-mode'.
Fix for syntax error.

- `set` -> `setq`