As New Zealand prepares to legalize the production of medicinal cannabis, companies are racing to secure the first and biggest slices of a market that has proved lucrative in the United States and Canada. One of those companies is also racing to save the town of Ruatoria, population 750 and falling.