add emacsclient shell script
clean up emacs config for linux and osx