The thumbnail cache now regenerates the image if the file has been modified.

Change-Id: I147b060d53c3af12c4ab3c3eef7466250377a75f
Merge pull request #40 from rdumusc/thumbnailcachefix

The thumbnail cache now regenerates the image if the file has been modified