Implement reading of Wikibase "ranks"

Change-Id: Ibd8f441b4e8612936f5bca6572ba76a7b6899c2f
Merge "Implement reading of Wikibase "ranks""