Introduce wb.getMwApiForRepo

This is supposed to be a replacement for most usages of wb.RepoApi and
should help with handling recent and upcoming breaking changes to wb.RepoApi.

Change-Id: I24f69b7e5af50763826c3b3bc9c482fdfc714bf1
Merge "Introduce wb.getMwApiForRepo"