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.
Could we make the string ``"object"`` a constant so it's only in one place?