Fix problems in cache caused by identical books (same uuid & format) on ...

...the device. Implement cache purging.