Add Link from document to thumbnail

Thumbnails were not being generated even though the create_thumbnail signal was being called in documents.  The generated thumbnail needed to be linked to the document object.