reddit: import changes from upstream

URL scraping out of reddit posts
Better detection of self posts