Add getApiBasedValueFormatterConstructor dependency on wikibase

Change-Id: I7168807fd83c8373167d5ff3c99714e338b281c9
Don't load all sites for LangLinkHandler

Change-Id: I9e6de257f32dab6d49de5852f56dfba7a182994c
(cherry picked from commit 8c91cfb472f0ade7871917d6ab7e418b144ea63a)
Don't access sites on WikibaseClient::getEntityIdForTitle

Change-Id: Iea58553d58f41c477776646d1722f3c9419209e5
(cherry picked from commit e7ae35428dc22153d065a103336014970684c925)