Changing rest to check if a node is either writable/readable instead of master/slave.

The redis role from nodes can still be retrieved from the cluster status(path: /cluster/:name/status), which returns both master and all online slaves.
Cleaning pom.xml non used dependencies.