Provide basedir information to the client so that thumbnanils can be properly retreived
Fix obtaining the orientation for thumbnails not on the root dir
Use the previewcache module to create the thumbnails, plus some miscellaneous fixes
Only present entries for which a thumbnail has been created