compiler: Add a compiler controller to manage the perfetto traces compilation.

The controller is called by a JobService once a day.
It tries to compile perfetto traces for activities that don't have
a compiled trace and save the compiled trace path to the sqlited db.

Bug: 142432760
Test: make
Change-Id: Ic953c4a8a41900f38f0ca19f1d39cbc477681446
7 files changed