Save image in disk cache. Closes #5.

Adds the DiskCache class.

Refactored MemoryCache into Cache, as it now handles both a memory cache (NSCache) and a disk cache (DiskCache).