Earworms, those songs that get stuck in your head, may help strengthen memories of music and life events, a new study reports.