Setup a default trace listener if the host provides a "host.TraceOutput"
- Turned tracing on in self host sample.
#2260
Added unit tests for the TraceManager changes.
Updated the js file.