Moved class registration of WikibaseRepo extension into dedicated file

Change-Id: Ida5cf74d1389dc0b12412e6e0017a7b3038beaa7