Rewrite the CLI for Crowbar 2 [1/2]

This pull request series rewrites the CB2 CLI to throw away all the
CB1 cruft lying around, and updates the install procedure to use the
new CLI instead of curl.

The new CLI deals only in JSON, and has been designed to mirror the
API as closely as possible while minimizing boilerplate.


 bin/barclamp_lib.rb                                | 485 ---------------------
 bin/blocking_chef_client.sh                        |  59 ---
 bin/crowbar                                        | 429 +++++++++++++++++-
 bin/crowbar_cli_lib.rb                             | 117 -----
 bin/crowbar_converge                               |  40 --
 bin/crowbar_crowbar                                |  21 -
 bin/crowbar_machines                               | 352 ---------------
 bin/crowbar_node_state                             | 202 ---------
 bin/crowbar_node_status                            |  37 --
 bin/crowbar_nodes                                  | 122 ------
 bin/crowbar_users                                  | 204 ---------
 bin/crowbar_watch_status                           |  19 -
 bin/dev_mode.sh                                    |   0
 bin/single_chef_client.sh                          |  19 -
 bin/transition.sh                                  |  49 ---
 bin/validate_bags.rb                               |  60 ---
 bin/validate_data_bag.rb                           |  85 ----
 bin/validate_data_bags                             |  31 --
 .../app/controllers/attribs_controller.rb          |  47 +-
 .../app/controllers/deployment_roles_controller.rb |   9 +-
 .../app/controllers/deployments_controller.rb      |  15 +-
 .../app/controllers/node_roles_controller.rb       |  14 +-
 .../app/controllers/nodes_controller.rb            |  13 +-
 .../app/controllers/roles_controller.rb            |  13 +-
 crowbar_framework/app/models/role.rb               |   4 +
 crowbar_framework/config/routes.rb                 |  11 +-
 setup/02-make-machine-key.install                  |  15 +-
 27 files changed, 513 insertions(+), 1959 deletions(-)

Crowbar-Pull-ID: 1abc8dac24f11b2f9151ad65e0ce1c29424b8e4b

Crowbar-Release: development