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
The `:` in the error message shouldn't be there. Please remove it.