OSX: Use F_NOCACHE instead of F_GLOBAL_NOCACHE

The latter persists for the lifetime of the file, while the former
affects only the current descriptor.
Initialize DownloadEngine::tokenAverageDuration_ to something.
Remove unused variable in LibgcryptMessageDigestImpl
Document setUri() in FileEntry does not need to check the return value.