fixed bugs in resource url normalization & added doctests
fixed invalid relative file URI usage in doc tests: the file protocol does not allow relative paths
fixed python 3 encoding bugs in corpus.doctest and allow it to succeed on windows
fixed bug in ZipFilePathPointer after call to normalize_resource_name