Rework LineEndConcatenation with tokens rather than AST
[Fix #1054] Handle a case with a return value of method on a string
Merge pull request #1529 from jonas054/1054_rework_line_end_concatenation

Rework line end concatenation