Working on #6 Thumbnail support in search results

Added first version of pdf preview.