Simplify API for HtmlHelper::nestedList and complete documentation.