Fixed minor thread-safety issues

Moved checks for delete inside locks in FileProjectDataStore.
Deleted ProjectMetadataUtilities

Moved method recover to recoverMetadata in ProjectDataStore and
FileProjectDataStore.