When Captain James Cook anchored off Hawaii in January 1778, he wasn't planning an invasion. He brought his crew, gifts, and a few goats meant as a future food source for sailors and islanders.