a round of CareLink fixes (suspend/resumes, basals, settings)

@kentquirk @jh-bate This is ready for review, including tests. I'm going to start commenting in line.
This is where we're merging a fabricated resume and the real one to avoid simulating duplicates.