Move the template-generating code from diagnosticsDockWidget.py to uvcdat.py.
This makes it available to diags.py and future scripts.
Do the plot title correctly, with templates just as in the UV-CDAT graphics.
Add a workaround (hopefully very temporary) to a VCS bug in which the first plot is blank.