Support updating metadata on device events

Description

The are cases where an external entity may want to update metadata for a device event after its initial storage. For instance, a flag to indicate measurements have been copied to an external system or an indicator to show that an alert has been responded to. Add API methods and REST calls to support updating event metadata.