New Zealand has just seen its tightest general election in years, with the two major parties neck-and-neck.