Merge people: domain changes

This is adding a new method to the domain base class that will allow merging
objects (not only people). This will be an automatic merging based on
database references instrospection, but subclasses may override the
implementation to handle specific cases.

Change-Id: I4269a025dc2107c658e9446ce4879fee548b7cce