Added META-INF generation, and refactored mimetype handling for OPF and NCX.