Make configuration tests configurable by datastore

Adds flexibility to configuration tests to make used mysql configs
configurable.

Change-Id: Id7ef621c185af6514b87ec4f79001461bc3851c3
Closes-bug: 1334888
Merge "Make configuration tests configurable by datastore"