fix no multiline strings in mirb

```ruby
> 'foo
* bar'
 => "foo\nbar"
```

This was not possible in mirb, because the function guessing wether the user wants to continue typing returned before checking for an open string. This pr fixes it.