Emacs: add company mode and smex