SyncEngine:  fix permission detection of moves

Two problems:
- "M" was used instead of "V"
- The extraction of the parent folder of the destination was wrong
Merge branch 'il'