Output proper error message in JSON response

Cases when GetStaffAppointment doesn't return proper results in case
of bad arguments, etc. are not handled gracefully. Fill the 'error'
field in the JSON response so the frontend can properly handle this
case.
Show full appointment results after selection

Upon selecting a staff member, show appointment information for
January 03, 2012.