Add mozlog for console logging and debugging

Would you mind taking a quick look over this @jonallengriffin? We have noticed the perf tests taking a lot longer on master recently but with no regressions in the metrics. The additional debug logs should help to determine where time is being spent.