Modifies the bitcode reader to use the same logic for both memory
buffers and data streams (other than initialization). The incremental
parser is now factored into startParse, continueParse, and
finishParse. All parses begin with startParse. It then makes zero or
more calls to continueParse (via incremental parsing). Finally, when
materializing, finishParse to finish parsing.
Note that this CL replaces http://reviews.llvm.org/D8786.