Capture issue update state in a case class, use that to drive

We only hit hit the GH API to update the issue labels if there's been a
state change.