Remove Thumbnail.save_thumb and minor cleanup
Merge branch 'thumbnail_fix_pr' into thumbnail_fix_pr_test
Change Foreign Key relationship for ResourceBase and Thumbnail

Prevents duplicated thumbnail db objects and files

Cleans up thumbnails after a Resource is deleted
Merge 'thumbnail_fix_pr_2' into thumbnail_fix_pr_test