use internal procedures for common tasks
added graphically diff which shows percentage.

Warning: It seems this approach is very slow.
Diffing a whole book takes too long with this approach.
add PIL(low) for image percentage diffing
fixing display and diff bugs for dirs. Add percentage diffing
Merge pull request #134 from Connexions/diff-pdf-image-percentage

Show diff pdf textual and graphical percentage