KDjVu:
* Fix the cache handling to behave sanely in 90 and 170 degrees rotation
* Implement the threaded generation (the API is already ok)

