Add support for setting attributes to roles, fix #1 #3
Merge pull request #5 from anderspetersson/roles

Add support for setting attributes to roles, fix #1 #3