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.
these changes might become redundant when the latest mvp is brought in as I think @nicolashery had a way to filter out the extra logging that I had simply commented out.