Created a base class for datastore statuses

Extracted a base class from MySqlAppStatus to make the majority of
logic applicable to the other datastores.
Also switched most messager classes to use the new Json builders.
Merge pull request #22 from TimSimpsonR/no-more-dbs

Created a base class for datastore statuses