track added/removed/modified patch automatically

Automatically add information about added, removed or modified patches, when
editor is invoked. That means when -m is passed or file with comment is
passed, no record is added.

Signed-off-by: Tomáš Čech <sleep_walker@suse.cz>