Bump IpMemoryStore schema to 5, add NetworkEvents table

This CL creates NetworkEvents table along with SCHEMA_VERSION 5 and
implements retrieve and store NUD failure events from/to the database

To prevent crashes caused by a bug in schema version 4 during
downgrades, we're renaming the database file and deprecating the old
name.

Bug: 329010113
Test: TH
Change-Id: I5f2cbdf5711398a6b57ee1482a16278de5b4cfcf
3 files changed