Thing is, Luke basically has to die to allow the story to continue. He's too powerful to keep around. Same as Dumbledore in Harry Potter.
I'd be happy with him sticking around in future films in ghost mentor form.
My theory re: the title is that at the beginning of the movie it refers to Luke, and by the end of the film it refers to Rey.