docs and create template for new license stanza

some :closed licenses in the code are left undocumented for
now, and should not be used.