First pass at event logging infrastructure.

In this commit the only event being logged is the edit start.

Change-Id: Ibaa292f1753caa2e547e15c73a60f92ecbcb7fb4