The year's most dramatic story of a bear attack offers potentially lifesaving lessons for anyone venturing into the wild