Capture field changes in a Dynamics 365 CE plugin

The following code captures record updates in a Dynamics 365 CE plugin, and stores this in the description field.