add `dmd/terminal-emulator' and a binding.

`dmd/terminal-emulator' starts a terminal emulator according to the value of `terminal-emulator'.