Create a new LDConfig builder class

I moved the `apiKey` out of the config for consistency with the other SDKs. This is an API breaking change, but only if you're using a custom config, so I think it's ok.