added ping method to redis cache adapter

I added a ping method to redis cache adapter to check if the connection to redis-server works. I personally found this method really helpful because i dont want the application to throw an exception if the redis-server isnt available.