Shawn Mendes, the Canadian singer-songwriter who rose to international fame, had a humble and close-knit childhood.