Further improvements to install-macosx.sh
Added handling of teiCorpus element to tei-lite handler (assuming versions not different texts)
Fixed a few minor bugs in this version.