Shopify's surge added fuel to Canada's strong market rally, helping its benchmark index cross 25,000 for the first time.