A historic Nova Scotia lighthouse has been moved from the edge of the cliff it has called home for 151 years.