Add replace and deleteCharAt methods to StringBuilder and StringBuffer

Hi, would you please merge these? Both work the same as the java.lang implementations. Thank you