Issue #395: Replace Util.collectIterable with something more efficient.
Issue #395: Add some java-level tests of the builders
Issue #395: Remove Util.collectIterable() now it's no longer uded in the SDK
Remove some @SuppressWarnings(unchecked) where they're not needed
Get rid of a TODO concerning the conversion of a List<Character> to a char[].
Fix #383