MOBSDK-741: ConfigService implementation - added empty and invalid config tests and various fixes.