add a number of null check to return methods.

This allows calling these methods on error cleanup paths without having
to surround them with if checks all the time.
Merge branch 'null-check' of github.com:hgschmie/jedis into null-check
Add tests to check returning null to pool
Merge pull request #587 from xetorthio/null-check

add a number of null check to return methods.