(bug 53367) ensure both sites and titles for GetEntities lookup by site link

Change-Id: I4a0b8b6f57745baad14f7f8d64a568bc5bb9e2d1
Merge "(bug 53367) ensure both sites and titles for GetEntities lookup by site link" into mw1.22-wmf16