Move some tasks to the per-barclamp setup scripts.

Also exit where we expect things to break.
Fix up install scripts to automatically pick native vs. from-tarball installs.
Swizzle things up to ensure that the proper version of Ruby gets installed.
Add ruby dev packages to list of ones to be installed before
everything else.
Make sure bc_do_install_actions gets all the data it needs.
Fix typo in install-crowbar-native.sh
Don't bother generating the catalog anymore.
Rewrite barclamp_install and barclamp_mgmt_lib to get rid of legacy code and object-ize the barclamp install handlers.
Fix up unit tests to deal with new barclamp_install.rb flags.
Fix up native package generation to use the new --root flag for barclamp_install.rb
Allow for validating barclamp templates at the root of the barclamp.
Fix up unit tests to function properly with the simplified bc layout.
Fold barclamp_mgmt_lib into barclamp_install.rb
Make sure package cache metadata is rebuild to include raw packages.
Make sure we run the install actions before running the chef recipes.
Make sure all cookbooks get loaded from each barclamp.
Merge pull request #1714 from VictorLowther/pull-req-master-3dc3a7577e4bd35be952fc693dcc5648ace9700f

Merged by devtool for aspiers