Add doc_subpages to commons/wikidata families

Also updated related test.

Change-Id: I1655f6c9e6894fc053af9ee33b255287bbeb6b28