Feature trait change recorder

This PR provides the thread aware change event recorder context manager authored by Simon that uses the recently introduced global trace methods for trait events.