Added sub-menu class to mainnav li's containing a ul.sub-menu.