Handling of multiple heredocs on the same line

Fixes #1696.

Adds an ability to have multiple heredocs on the same line like this:

```
[ """, """, 1 ]
a
"""
b
"""
```

which results in:

```
[ "a\n", "b\n", 1 ]
```