Add field to note if a process has a foreground service

..into ProcessMemorySnapshot and AppProcessDied

Bug: 234618899
Test: statsd_testdrive 10064
Test: statsd_testdrive 373
Test: atest CtsStatsdAtomHostTestCases:ProcessMemoryStatsTests
Test: atest CtsAppExitTestCases
Change-Id: I1dc3e4ac54d0e46195b508a3e53e287192b3adc9
7 files changed