I'm not sure about the calibre. Right, some nice to have feature in calibre. But about all the sigil code ? What about people not using calibre ?
I'll have a look at epubopentoolbox. Too bad, no easy install / download. But i'm a java dev, I should be able to get it working