fix for duplicate masonry items, fix for images being fetched from filesystem with no MIME type (and hence wrong MIME type), fix for duplicate images in horizontal list view (due to Friend being a two-resource relationship)