Make String.slice consistent with Ruby semantics, closes #1034
Merge pull request #1077 from meh/string-slice

Make String.slice consistent with Ruby semantics, closes #1034