Finalised PersistentObject, including tests.
Now I must design UnitObject.