AMBARI-3364. Refactor Role to a class from an enum. (ncole)