Enabled streaming input and output of multi-page documents

git-svn-id: http://tesseract-ocr.googlecode.com/svn/trunk@1105 d0cd1f9f-072b-0410-8dd7-cf729c803f20
Bunch of minor bug fixes/cleanups

git-svn-id: http://tesseract-ocr.googlecode.com/svn/trunk@1106 d0cd1f9f-072b-0410-8dd7-cf729c803f20