Improved emacs integration

Now the dcd-server starts automatically.
User can specify port number.
And some little fixes.