Implements utility functions to decode ETW payload.

R=fdoray@chromium.org
BUG=

Review URL: https://codereview.appspot.com/61120043