Support protocol independent wiki URLS.
Remove extra space in reference number.
Exclude some images from the generated PDF.
Make the header and footer respect the text alignment.
Remove unwanted whitespaces, remove normalization code which is no longer needed
remove unwanted if conditions
remove trailing spaces
make use of hyphenation module
removing normalizer.

seems like old code, normalizer is not using anywhere.
use Pillow instead of PIL.

Since we already importing properly, we don't need any code change.