Extend credentials to support roles

Test can request credentials to be allocated by specifying
the required credential types at class level.
Extending that mechanism to support credentials by roles as
well.

Change-Id: I2f026e553f8c2c2a4cf2cb319bcd67e7d82e0479
10 files changed