New EntityDocuments to replace EntityRecords

This change implements results from the datamodel discussion
in Berlin last week. Future EntityDocuments will be needed
for queries and media pages on Commons. Not all of them will
have terms (label etc.).