phpcs cleanup

Signed-off-by: Frode Marton Meling <fm@saltship.com>
Fixed random color generator

Should only generate new color, per role.

Signed-off-by: Frode Marton Meling <fm@saltship.com>