Update cupsffi.
Merge remote-tracking branch 'origin/1-0-stable'
Use last case.doctor for patient.doctor as fallback.
Update CHANGELOG for 1.0.5.