#181564 by Crell: add first and last CSS classes to menu tree lists and themed item lists for themers to use