Dealing with insomnia can be a major challenge, but these apps may be able to help with specific CBT programs and features.