PagedBytesReference with a boatload of tests. Passes all new and
existing tests.
make class & ByteArray final
remove some unnecessary checks & comments
this test was calling the wrong method, sigh..
Optimizations for toBytesArray()/copyBytesArray() with tests for
sharing/non-sharing behaviour. Also added test for toBytes() that
verifies that it is cheap for small blocks (the common case).
Forward hashCode/equals to BigArrays & more tests.
proper (non-allocating) hashCode/equals support for slices
add lots of randomization to the tests.
optimized bulk zero-copy writing in writeTo(), add test for writeTo() of
a slice
fix for slice offset in writeTo() & zero-copy CompositeBuffer support
more randomization, split tests for slices & non-sliced buffers.