Dump LogBuffers to a file before crashing

For now, only do this in NotifCollection. Some day we may expand this to
being a global exception handler, but for now, clients must be explicit
when dumping.

Test: atest, manual
Bug: 151317347,112656837
Change-Id: I22ff91e8f8347e85b1bf5e874d0bb5e29ced5a75
12 files changed