Fixed infinite recursion when using flatten on a List with Strings

Steps to reproduce:

```livescript
livescript> {flatten} = require 'prelude-ls'
...
livescript> flatten [\foo]
RangeError: Maximum call stack size exceeded
```

You could also fix it by replacing `if x.length? ...` with `if x instanceof Array ...` but thats more likely to break existing code i guess.