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.
might be covered off but this was the first instance of LGS that I came across and hence my comment that maybe we should add a note saying what LGS is