Updated merge functionality for contacts and companies

Thank you @Dadams - with this change, would it be possible to restore previously merged records since the original IDs would both be retained?