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.