systrace: fix CRLF handling
systrace: fix CRLF handling

This change cleans up the trace data processing part of systrace.py.  It also
makes the CRLF handling auto-detect the line endings of the incoming data.

Bug: 8327984
Change-Id: Ibc43f50a258ace99c09a539478c2c270e2d0a087

VanirAOSP/external_chromium-trace,android-ia/platform_external_chromium-trace,mer-tools/chromium-trace,geekboxzone/lollipop_external_chromium-trace,CyanogenMod/android_external_chromium-trace,geekboxzone/lollipop_external_chromium-trace,android-ia/platform_external_chromium-trace,geekboxzone/lollipop_external_chromium-trace,mer-tools/chromium-trace,CyanogenMod/android_external_chromium-trace,android-ia/platform_external_chromium-trace,mer-tools/chromium-trace,Omegaphora/external_chromium-trace,mer-tools/chromium-trace,CyanogenMod/android_external_chromium-trace,xin3liang/platform_external_chromium-trace,Omegaphora/external_chromium-trace,Omegaphora/external_chromium-trace,xin3liang/platform_external_chromium-trace,CyanogenMod/android_external_chromium-trace,xin3liang/platform_external_chromium-trace,VanirAOSP/external_chromium-trace,xin3liang/platform_external_chromium-trace,VanirAOSP/external_chromium-trace,mer-tools/chromium-trace,xin3liang/platform_external_chromium-trace,VanirAOSP/external_chromium-trace,geekboxzone/lollipop_external_chromium-trace,Omegaphora/external_chromium-trace,android-ia/platform_external_chromium-trace,VanirAOSP/external_chromium-trace