Refined search to support click to view constituent.
fixed bug in getting bmtnid from METS.
beginning to work on tei2html transform.