[emacs mode] #204 really clean quitting ido completion

Hey Marijn,

Here's another (after #204) attempt to fix the "error in process filter: Quit" message. It uses `run-with-idle-timer` with zero delay to break away from the tern query process.