fix issues #114, #129

this patch fixes issues when xml based epub are read. (openberg selects correct mimetype according to file extension)