Use the same logic from CTS tests
Read the information from flickerlib and display in winscope
Test: yarn run dev and open a few WM traces
Bug: 167521440
Change-Id: I96cb956968066afaabb3acf53615db53bdfabe37
This is required for production builds since we only deploy a single .html file and don't server the rest of the generated files
Test: Try and build and see if Winscope loads by loading only the generated .html file
Change-Id: Idc7614d72bb91a35da3574f5c93588690ccfb6a0
The kotlin webpack plugin requires the latest webpack version so webpack was updated and refactored to modern standards
Test: Run 'yarn run dev' and 'yarn run build' and make sure everything still build and that a JavaScript compiled version of flickerlib is found in 'kotlin_build'
Change-Id: I02cc1e5bb16afeb5c407a18926ee485d715e41df