merge pbeaman: Add a test to exercise various places where code in the Key#append methods attempts to write past the end of the encoded byte array.
https://code.launchpad.net/~pbeaman/akiban-persistit/fix-1157809-aioobe-on-append-key-segment/+merge/154422