Reworked caching ``all`` method

1. Cache of newly created thumbnail is handled by get_thumbnail
2. renamed some variable from filename -> name
3. Added __eq__ function to Thumbnail to make it easier during test