Port StringBuffer to JS.

Would close #346.

- Moves `String.intern` to `string.js`.
- Implements all methods of `StringBuffer`, using the properties `buf` and `count` for manipulation.
- Test coverage in `StringBufferTest.java`.
There's an Apache license in the source file that I think we'll need to reference somewhere, perhaps in our LICENSE.txt file.