Start a separate emacs server for each terminal

As suggested at http://emacs.stackexchange.com/a/3226/118.