Fixed logical errors in java reader code for unknown types
Fixed a couple of logic errors in the c++ serializers
Made some small improvements to SuperStringBuffer for cleaner access.
Merge remote-tracking branch 'origin/master' into javascript-remake