The endings to classic movies like Cinema Paradiso, Casablanca, and Titanic perfectly ride a bittersweet line directly between happy and sad.