Fix problems in cache caused by identical books (same uuid & format) on the device. Implement cache purging.
Merge branch 'master' of https://github.com/cbhaley/calibre