Backport Add insert methods to java.lang StringBuilder and StringBuffer

(cherry picked from commit 28fc5cf03d1309a9e616bf81f68e2f2e2ff374b6)