fix issue 938: change tessdata-dir/datadir rules; implement --tessdata-dir option

git-svn-id: http://tesseract-ocr.googlecode.com/svn/trunk@907 d0cd1f9f-072b-0410-8dd7-cf729c803f20
fix validity of hocr output of multipage image

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