To ensure that redis is running before runing server, rake tasks or console

Added a new file in initializer directory which will ensure that redis is running while running either rake, server or console.

It will throw an error, if redis is not running.