make TemplatePanel list selection work with new optgroup functionality (index mismatch, now introspects xhtmlrenderer); start of html list tests