Revert "Revert "Notification statsd logs: Notification panel.""

This reverts commit 3cc20a4ed874e45adc5f655b842151faeb4306ef, which
reverted the original change.

Reason for revert: Roll-forward with corrections and additional testing.

Test: atest NotificationLoggerTest SystemUITests
Test: statsd_testdrive 245
Test: adb shell cmd stats print-logs && adb logcat -s statsd:I | grep ' (245)'
Test: manually pull down notification shade
Bug: 146488473
Change-Id: Ifd766dddf869e1e345bf93e950ebb30b149c72c0
12 files changed