core/packs/pack-edit.el: New file

New file for common editing behaviours.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>