[Fix #670] Save point between two inserts to popup buffer.

Solution is inspired by "Process Filter Example" from Emacs Lisp
manual (including moving point if it was at the insert position).
Merge pull request #673 from danskarda/fix-670

[Fix #670] Save point between two inserts to popup buffer.