Add setter for `queryEncoding` property
Remove query encoding config via constructor param

Now that a setter is available, remove the ability to set the `queryEncoding` property via the constructor `$config` parameter.
Tweak comment formatting
Add getter to access underlying DocumentProvider

Add a getter to expose this dependency so that developers are able to interact with it.