MOTECH-624: Migrate Alerts to MDS

From this commit the Alerts module will use MDS and SQL database instead of
couchdb.

Change-Id: Ifd0638622a91fed1c4af5168a39be12a613c3b7d