emacs: add ledger mode, flycheck, flycheck-ledger, and ensure MacOSX
emacs path is equal to shell path.