new hash methods for handling serialised java objects in redis

added new hash methods for setting byte[] values in redis. added new unit test cases for these methods.
these new methods will be used with `rosafactory` and `baseresource` subclasses.
these `println`s are inside the unit tests - i'm happy to remove them, but i don't see how it will make any difference.