new functions shift and sync

2 new functions : shift (set a delay) and sync (scale subtitles), based
on gnome-subtitles (https://git.gnome.org/browse/gnome-subtitles/).