add level-based class to LI > ULs

This allows styling to be specific to the level of navigation, e.g. so that the current tertiary page can be styled differently from its parent.