Add emacs config for mac

Move all original files to linux. Later, all common files placed in
linux directory now will be moved to common directory.

Signed-off-by: Dunrong Huang <riegamaths@gmail.com>