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)
UnitStateRegistry, perhaps?