@mariosipad
Great news ! And thanks you for upgrading
I may try also myself now that things seems almost good with DSM5.
I've added a empty line at the end of .htaccess it may help (will commit it shortly).
@tombo
About the kepub, it's true, I don't transform the epub to kepub like the Calibre plugin does so things may not work. I'll add a third value to the parameter to handle that case or fix the code in another way.
About the URL rewriting rule I really don't know what's wrong. I'll think about it.