Fix patient object and api service

- Add temporary `teamId` to `patient` to fetch messages (to be
  deprecated when messages are tied to `userId` instead)
- Make sure the only thing we save in the `patient` attribute of
  `/metadata/:userid/profile` is the patient-specific data (birthday,
  diagnosis date, bio)
- Various tweaks to `api.patient` functions