Add the class 'node' to <li> items, which have sublists

In order to treat `<li>` with subslists different from leaves, they need to
have their own class.