How Canada's small towns are trying to survive and thrive in changing times