use PartDatabase to look up thumbnails async

Prevent excessive resource contention from generating two thumbnails for the same piece of media when sending/receiving into an open conversation.
This seems a little convoluted.  We're making blocking calls from this thread, why not just generate the thumbnail directly here, rather than kicking off an async job and immediately waiting on it?