COMMONS-3. Add ByteUtils class.

issue: https://jira.kiji.org/browse/COMMONS-3
review: https://review.kiji.org/r/2261