Method for creating a meta data file for an image directory

Not complete yet.
Working implementation of meta data creation from image directory

The cache uses photo IDs as keys for the features, but this is not
safe. IDs may change when a new meta data file is created. MD5
sums should be used instead.