Add REST interface for merging people

This allows you to merge two people together via the API, the original
person is updated with the properties of the record to be merged in,
then the record that was merged in is deleted.