Update PHPePub, misc fixes