check produce responses for errors

check for errors when required acks > 0, refresh metadata on NotLeaderForPartition.

Im seeing quite a bit of these in my kafka logs, coming from poseidon producers, even for topics that have not been recently rebalanced. 

```
WARN Produce request with correlation id 14 from client x.3865 on partition [<topic>,<partition>]failed due to Leader not local for partition [<topic>,<partition>] on broker X (kafka.server.KafkaApis)
```

hoping this patch will detect and fix that situation...