simplify TopicPostersSummary

* replace inject with each_with_object to avoid explicitly specifying the return value.
* get rid of a conditional and better use ruby's collections operations.