BZ958: Improve application interaction with CDROutputStream. Added size-...

...specifying constructor and a releaseBuffer method to allow application to use the buffer after the stream goes out of scope. Patch from Phil Mesnier