Bug fixed,move two methods into AppointmentRestController

All acceptance passed except one.
move createAppointment method to AppointmentRestController.
move shareAppointment method to AppointmentRestController.