Timeline: extract tracing-specific UI helpers into TracingTimelineUIUtils.js

BUG=361045

Review URL: https://codereview.chromium.org/307353004

git-svn-id: svn://svn.chromium.org/blink/trunk@175468 bbb929c8-8fbe-4397-9dbb-9b2b20218538