Add diff match patch lib and use it on notes history