Adding in the database state monitor which detects if a database is incorrect and offers to set it up for a user.

Test Plan: carl

Reviewers: carl, carlos, neil

Maniphest Tasks: T8189

Differential Revision: http://grizzly.memsql.com/D4540