Javadoc
Writes the default ConfVars out to a byte array and returns an input
stream wrapping that byte array.
We need this in order to initialize the ConfVar properties
in the underling Configuration object using the addResource(InputStream)
method.
It is important to use a LoopingByteArrayInputStream because it turns out
addResource(InputStream) is broken since Configuration tries to read the
entire contents of the same InputStream repeatedly without resetting it.
LoopingByteArrayInputStream has special logic to handle this.