implement String#lines behavior when no block is given

Implements the behavior of String#lines when no block is given, which is to return an Enumerator. This allows the following invocation:

```
str = "one\ntwo\nthree"
lines = str.lines.entries
```

This form is often used when processing file data.