Extract geowiki's research MySQL config into separate class

Thereby, we can reuse the config when adding the db_to_limn step in a
follow-up commit.

Change-Id: Ie17a2b56b922624013d50c00e382bc6bbb924d12