Broad-based gains gave the major indexes momentum as the quarter winds down. The tech-focused Nasdaq 100 is now in a bull market.