add String#tr
improve from suggestions
Merge pull request #121 from kostya/tr

add String#tr