Merged cheald's refactors and made tests pass

Include support for scraping images with relative paths and video embeds, as well as a better image scraping algorithm.