Add ability to change intended role on CLI

In order to change the intended role from the command line i have
integrated an API endpoint and added the crowbar_machines implementation
as well. Now an admin can manipulate the intended role from the CLI
pretty easy.
Currently there is no real validation exception handling. This should be done in a seperate refactoring after the rails update.