The suspected gunman who went on a killing spree in Montreal had a history of mental health issues