bug #910676 by omissis: Fixed 'out of order' issue for generated epubs thanks to a patch from Ivan Zugec. task #910680 by omissis: Changed ePub library inclusion to use Libraries API module.