Added redis config module (slave and flush)

Sorry for the delay, busy weeks :/

Here is the unified version of the other 2 pull requests: #3334 and #3344

Hope all is ok :)