Fix math bug in RopeByteString
Fix bug in Utils.concat, tune thresholds
Add unit tests for Utils