A sleep test can tell you what is wrong. BetterNight has built its business around the harder part: helping people start treatment, then stay with it.