added EpubError to raise our own exceptions during parsing, moved finding the toc out of parseManifest