unlimited levels and detect active menu item by url

and adding sub-menu level class (level1, level2, level3...)