added registry definition to Persistent<T>, TODO: add registry to Replicate<T>.
added registry definition to Persistent<T>, TODO: add registry to Replicate<T>.

Derecho-Project/derecho-unified,Derecho-Project/derecho-unified,Derecho-Project/derecho-unified,Derecho-Project/derecho-unified,Derecho-Project/derecho-unified