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)
I'm not sure it will - wasn't this what we discussed yesterday?