Add uid initialization
Fixed domain class template
Fixed pagedcollection
Ignore meta_dirty in metadata builder