full rewrite of script as xmlgen2.py

Version 2 attempts to accommodate audio or video object with CSV
metadata in either a single-line per object or multi-line per object
configuration.  All anchor points and metadata element names are mapped
in two python dictionaries for easier modification in the future.