CDK-750. Updated based on review feedback and travis testing.

* Switched to a single assert function and moved byte[] concatenation
to the caller.
* Switched to KeyValue.getBuffer() to support hadoop-1 and CDH4 profiles.