registry: use custom model for UnitState

The code in #616 not only broke backwards-compatibilty with fleetctl, it unnecessarily changed the datastructure stored in the Registry. We can easily keep the datastructure the same with this PR, which also *mostly* supports older copies of fleetctl. It will expose the ID of the machine in list-units, just not the IP.