Remove DBService references from StoredProject(Config) and ConfigOption.

Also move the tests to the same package as the class they test.