registry: add States to retrieve all unit states

@bcwaldon is this in line with what you had in mind? (obviously this doesn't start to split out Jobs() yet, I can do that in this change or a subsequent patch)
This construction is tedious, but an area of test coverage that's been lacking. Open to suggestions.