Extract analysis type methods to a module and refactor Post#raw_links
Merge pull request #910 from novemberkilo/master

WIP - Reduce complexity of Post#raw_links