LocalThumbs and some more fixes

LocalThumbs branch merged into master
SSL problem identified to originate from gnu-tls instead of SSL on libcurl. Won't fix.
Added matrioska to the list of allowed mimes
Added progress bars for thumb generation
Preparing option for lazy loading of thumbnails