add notes about proper formatting in article html to facilitate cross-reference matching.
* fix up more about figure reference resolution
* implement media file crossreference resolution