Initial commit of WIP PR for terasort benchmark.

As discussed on list, this is a WIP for Spark Terasort.
I think you misunderstood copyToArray.
May be ``rowBytes.takeRight()TeraInputFormat.VALUE_LEN).copyToArray(value, 0, TeraInputFormat.VALUE_LEN)``?