add String#partition and String#rpartition.
Merge pull request #1625 from iij/pr-string-partition

add String#partition and String#rpartition.