Hadoop 2.3 dev work (fred) - CM API roles and services. [1/1]

Hadoop 2.3 dev (fred)
 * Refactored the CM API role object and debugged the role/service bindings.
 * Added role creation calls to the create_cluster test harness.



 .../clouderamanager/libraries/api_client.rb        |  214 +++++++++++++-------
 .../clouderamanager/libraries/clusters.rb          |   27 ++-
 chef/cookbooks/clouderamanager/libraries/cms.rb    |    5 +-
 chef/cookbooks/clouderamanager/libraries/events.rb |    5 +-
 .../clouderamanager/libraries/resource.rb          |    2 +-
 chef/cookbooks/clouderamanager/libraries/roles.rb  |   70 ++++---
 .../clouderamanager/libraries/services.rb          |  112 ++++++----
 chef/cookbooks/clouderamanager/libraries/types.rb  |   12 +-
 chef/cookbooks/clouderamanager/libraries/users.rb  |   22 +-
 unittest/create_cluster.rb                         |   14 +-
 10 files changed, 301 insertions(+), 182 deletions(-)

Crowbar-Pull-ID: 1d10ed632599365173d2c051c0eb3e0ea5ccfa8f

Crowbar-Release: fred