MOTECH-625 Migrate Appointments to MDS

Refactored and seussified Appointments module to use MDS.

Change-Id: I0313fee7b21439071446f54fd65ad8c7a6ee9a08