Replace PostAnalyser module with a class

Encapsulate Post#cooked_document as well
Include specs for PostAnalyzer class
Merge pull request #939 from novemberkilo/master

Reduce complexity of Post - introduce a PostAnalyzer class