fix incorrect usages of ByteBuffer.array()

Conflicts:
	cdap-client-tests/src/test/java/co/cask/cdap/client/app/FakeFlow.java
better impl of Bytes.toString()
Revert "Remove SNAPSHOT dependencies"

This reverts commit f92965fbadddf4fc86b914afadaaa44c23cbcfe7.
CDAP-562 Ensure HDFS delegation token is updated
Merge pull request #600 from caskdata/feature/cherry-pick-bb-array

Feature/cherry pick bb array
Merge pull request #603 from caskdata/hotfix/hdfs-token

CDAP-562 Ensure HDFS delegation token is updated
Merge branch 'release/2.5.0' into feature/r2.5.2_release_notes