I Think you were legally married and it was considered legal in Canada as well. You should have mentioned it and clearly explained it...if somebody ever report you, it will for sure be proved that you have been married before and if CIC finds out that you never mentioned it, they won't ignore...