added new functionality and revised existing functions of baseresource.
added exceptions to be thrown upon a jedisexception being caught.
fixed class initialisation errors
Merge pull request #27 from skibz/feature/baseresource

Base resource class for HTTP resources that need access to redis.