Added code to create roles using ruby (*.rb) files.

The current implementation only works with JSON roles. The proposed change will also create roles that are defined using ruby files.