fix(UnitHash): shorten/ellipsize UnitHash like Machine ID

Fix #495