Adds Stats Support in Collection Entities

Adds support for the stats object in the collection entity and adds
new entities for Rank and Rating.

Adds related unit tests.