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()
Merge pull request #600 from caskdata/feature/cherry-pick-bb-array

Feature/cherry pick bb array