Extract abstract SafetyCenterViewModel and factory.

This is prep for adding a fake or mock viewmodel to use in unit tests
for the SafetyCenterDashboardFragment.

Bug: 229854704
Test: Deployed to phone locally
Change-Id: Ib710ec0c28843e504da1a805abb90dd6c7f0e128
4 files changed