fixes for OnlineController

added some legacy functionality here that I'm not sure about, but seems to work at the moment (RelatedArticle entities and repositories).   Also had to add getAticleStats function from legacy wobs branch to CommentService on tw-merge for this code to work.