Clear code range when modify/expanding string for IO.read(..,buf).

Fixes #2316.

Test added to MRI in http://mla.n-z.jp/~w3ml/w3ml.cgi/ruby-changes/msg/36766
Time#getlocal(nil) should act like no-arg. Fixes #2310.
added String#b method
remove those "bundle" is not a known protocol error
Merge pull request #2327 from jkutner/jruby-1_7-missing-methods

added String#b method
Fix GH-2182 on jruby-1_7
using cat19 method