Factor ClientStoreFactory into WikibaseClient.

This removes one static entry point to the object graph.

Changing how our hook function access it remains to be done.

Change-Id: I89e98c138e8296e08d6d313231bb16b74c003a94